Eneboo - Documentación para desarrolladores
|
00001 /*------------------------------------------------------------------------- 00002 * 00003 * flatfiles.h 00004 * Routines for maintaining "flat file" images of the shared catalogs. 00005 * 00006 * 00007 * $PostgreSQL: pgsql/src/include/utils/flatfiles.h,v 1.6 2005/10/15 02:49:46 momjian Exp $ 00008 * 00009 *------------------------------------------------------------------------- 00010 */ 00011 #ifndef FLATFILES_H 00012 #define FLATFILES_H 00013 00014 #include "fmgr.h" 00015 00016 extern void database_file_update_needed(void); 00017 extern void auth_file_update_needed(void); 00018 00019 extern char *database_getflatfilename(void); 00020 extern char *auth_getflatfilename(void); 00021 00022 extern void BuildFlatFiles(bool database_only); 00023 00024 extern void AtPrepare_UpdateFlatFiles(void); 00025 extern void AtEOXact_UpdateFlatFiles(bool isCommit); 00026 extern void AtEOSubXact_UpdateFlatFiles(bool isCommit, 00027 SubTransactionId mySubid, 00028 SubTransactionId parentSubid); 00029 00030 extern Datum flatfile_update_trigger(PG_FUNCTION_ARGS); 00031 00032 extern void flatfile_twophase_postcommit(TransactionId xid, uint16 info, 00033 void *recdata, uint32 len); 00034 00035 #endif /* FLATFILES_H */