| 1 | /*------------------------------------------------------------------------- |
| 2 | * |
| 3 | * fmgr.h |
| 4 | * Definitions for the Postgres function manager and function-call |
| 5 | * interface. |
| 6 | * |
| 7 | * This file must be included by all Postgres modules that either define |
| 8 | * or call fmgr-callable functions. |
| 9 | * |
| 10 | * |
| 11 | * Portions Copyright (c) 1996-2017, PostgreSQL Global Development PGGroup |
| 12 | * Portions Copyright (c) 1994, Regents of the University of California |
| 13 | * |
| 14 | * src/include/fmgr.h |
| 15 | * |
| 16 | *------------------------------------------------------------------------- |
| 17 | */ |
| 18 | #pragma once |
| 19 | |
| 20 | #include "pg_definitions.hpp" |
| 21 | |
| 22 | typedef struct PGFunctionCallInfoData *PGFunctionCallInfo; |
| 23 | |
| 24 | /* Standard parameter list for fmgr-compatible functions */ |
| 25 | #define PG_FUNCTION_ARGS PGFunctionCallInfo fcinfo |
| 26 | |