Fix xslt_process() to ensure that it inserts a NULL terminator after the
[PostgreSQL.git] / src / include / utils / flatfiles.h
blob36f47b87a5fd9a1c30d4bcd230ce9e81e6c1419a
1 /*-------------------------------------------------------------------------
3 * flatfiles.h
4 * Routines for maintaining "flat file" images of the shared catalogs.
7 * $PostgreSQL$
9 *-------------------------------------------------------------------------
11 #ifndef FLATFILES_H
12 #define FLATFILES_H
14 #include "fmgr.h"
16 extern void database_file_update_needed(void);
17 extern void auth_file_update_needed(void);
19 extern char *database_getflatfilename(void);
20 extern char *auth_getflatfilename(void);
22 extern void BuildFlatFiles(bool database_only);
24 extern void AtPrepare_UpdateFlatFiles(void);
25 extern void AtEOXact_UpdateFlatFiles(bool isCommit);
26 extern void AtEOSubXact_UpdateFlatFiles(bool isCommit,
27 SubTransactionId mySubid,
28 SubTransactionId parentSubid);
30 extern Datum flatfile_update_trigger(PG_FUNCTION_ARGS);
32 extern void flatfile_twophase_postcommit(TransactionId xid, uint16 info,
33 void *recdata, uint32 len);
35 #endif /* FLATFILES_H */