1 /*-------------------------------------------------------------------------
4 * Routines for maintaining "flat file" images of the shared catalogs.
9 *-------------------------------------------------------------------------
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 */