PostgreSQL
Prev | Chapter 67. Backend Interface | Next

# 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`.

Prev | Home | Next
General Commands | Up | Debugging Commands