1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-24 01:29:19 +03:00

Remove AMI_OVERRIDE tests from tqual.c routines; they aren't necessary

and just slow down normal operations (only fractionally, but a cycle saved
is a cycle earned).  Improve documentation of AMI_OVERRIDE behavior.
This commit is contained in:
Tom Lane
2002-05-25 20:00:12 +00:00
parent 29737d83d9
commit 4d567013cf
5 changed files with 41 additions and 51 deletions

View File

@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: transam.h,v 1.44 2001/11/05 17:46:31 momjian Exp $
* $Id: transam.h,v 1.45 2002/05/25 20:00:12 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -92,6 +92,13 @@ typedef VariableCacheData *VariableCache;
* ----------------
*/
/* in transam/transam.c */
extern bool AMI_OVERRIDE;
/* in transam/varsup.c */
extern VariableCache ShmemVariableCache;
/*
* prototypes for functions in transam/transam.c
*/
@@ -111,15 +118,4 @@ extern TransactionId ReadNewTransactionId(void);
extern Oid GetNewObjectId(void);
extern void CheckMaxObjectId(Oid assigned_oid);
/* ----------------
* global variable extern declarations
* ----------------
*/
/* in xact.c */
extern bool AMI_OVERRIDE;
/* in varsup.c */
extern VariableCache ShmemVariableCache;
#endif /* TRAMSAM_H */