~ubuntu-branches/ubuntu/hardy/postgresql-8.4/hardy-backports

« back to all changes in this revision

Viewing changes to src/include/utils/flatfiles.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*-------------------------------------------------------------------------
 
2
 *
 
3
 * flatfiles.h
 
4
 *        Routines for maintaining "flat file" images of the shared catalogs.
 
5
 *
 
6
 *
 
7
 * $PostgreSQL$
 
8
 *
 
9
 *-------------------------------------------------------------------------
 
10
 */
 
11
#ifndef FLATFILES_H
 
12
#define FLATFILES_H
 
13
 
 
14
#include "fmgr.h"
 
15
 
 
16
extern void database_file_update_needed(void);
 
17
extern void auth_file_update_needed(void);
 
18
 
 
19
extern char *database_getflatfilename(void);
 
20
extern char *auth_getflatfilename(void);
 
21
 
 
22
extern void BuildFlatFiles(bool database_only);
 
23
 
 
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);
 
29
 
 
30
extern Datum flatfile_update_trigger(PG_FUNCTION_ARGS);
 
31
 
 
32
extern void flatfile_twophase_postcommit(TransactionId xid, uint16 info,
 
33
                                                         void *recdata, uint32 len);
 
34
 
 
35
#endif   /* FLATFILES_H */