1 /*-------------------------------------------------------------------------
4 * Required include file for all POSTGRES catalog header files
6 * genbki.h defines CATALOG(), DATA(), BKI_BOOTSTRAP and related macros
7 * so that the catalog header files can be read by the C compiler.
8 * (These same words are recognized by genbki.sh to build the BKI
9 * bootstrap file from these header files.)
12 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
13 * Portions Copyright (c) 1994, Regents of the University of California
17 *-------------------------------------------------------------------------
22 /* Introduces a catalog's structure definition */
23 #define CATALOG(name,oid) typedef struct CppConcat(FormData_,name)
25 /* Options that may appear after CATALOG (on the same line) */
27 #define BKI_SHARED_RELATION
28 #define BKI_WITHOUT_OIDS
30 /* Declarations that provide the initial content of a catalog */
31 /* In C, these need to expand into some harmless, repeatable declaration */
32 #define DATA(x) extern int no_such_variable
33 #define DESCR(x) extern int no_such_variable
34 #define SHDESCR(x) extern int no_such_variable
36 /* PHONY type definition for use in catalog structure definitions only */