18th October 2018: PostgreSQL 11 Released!
Unsupported versions: 6.5

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.