select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Unsupported versions: 7.0
Historical version. PostgreSQL 7.0 reached end of support in May 2005. See the current manual for supported releases.

Macro Commands

DEFINE FUNCTION macro_name AS rettype function_name(args)

Define a function prototype for a function named macro_name which has its value of type rettype computed from the execution function_name with the arguments args declared in a C-like manner.

DEFINE MACRO macro_name FROM FILE filename

Define a macro named macro_name which has its value read from the file called filename.

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.