Fix xslt_process() to ensure that it inserts a NULL terminator after the
[PostgreSQL.git] / src / include / catalog / genbki.h
blob6fad591df45667ae68eb8d213b45b2f06620e9db
1 /*-------------------------------------------------------------------------
3 * genbki.h
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
15 * $PostgreSQL$
17 *-------------------------------------------------------------------------
19 #ifndef GENBKI_H
20 #define GENBKI_H
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) */
26 #define BKI_BOOTSTRAP
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 */
37 typedef int aclitem;
39 #endif /* GENBKI_H */