mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Rename snapmgmt.c/h to snapmgr.c/h, for consistency with other files.
Per complaint from Tom Lane.
This commit is contained in:
33
src/include/utils/snapmgr.h
Normal file
33
src/include/utils/snapmgr.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* snapmgr.h
|
||||
* POSTGRES snapshot manager
|
||||
*
|
||||
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/utils/snapmgr.h,v 1.1 2008/03/26 18:48:59 alvherre Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef SNAPMGR_H
|
||||
#define SNAPMGR_H
|
||||
|
||||
#include "utils/snapshot.h"
|
||||
|
||||
|
||||
extern PGDLLIMPORT Snapshot SerializableSnapshot;
|
||||
extern PGDLLIMPORT Snapshot LatestSnapshot;
|
||||
extern PGDLLIMPORT Snapshot ActiveSnapshot;
|
||||
|
||||
extern TransactionId TransactionXmin;
|
||||
extern TransactionId RecentXmin;
|
||||
extern TransactionId RecentGlobalXmin;
|
||||
|
||||
extern Snapshot GetTransactionSnapshot(void);
|
||||
extern Snapshot GetLatestSnapshot(void);
|
||||
extern Snapshot CopySnapshot(Snapshot snapshot);
|
||||
extern void FreeSnapshot(Snapshot snapshot);
|
||||
extern void FreeXactSnapshot(void);
|
||||
|
||||
#endif /* SNAPMGR_H */
|
Reference in New Issue
Block a user