* globals.c
* global variable declarations
*
- * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
volatile bool InterruptPending = false;
volatile bool QueryCancelPending = false;
volatile bool ProcDiePending = false;
+volatile bool ClientConnectionLost = false;
volatile bool ImmediateInterruptOK = false;
volatile uint32 InterruptHoldoffCount = 0;
volatile uint32 CritSectionCount = 0;
*/
bool IsPostmasterEnvironment = false;
bool IsUnderPostmaster = false;
+bool IsBinaryUpgrade = false;
bool ExitOnAnyError = false;
int VacuumCostLimit = 200;
int VacuumCostDelay = 0;
+int VacuumPageHit = 0;
+int VacuumPageMiss = 0;
+int VacuumPageDirty = 0;
+
int VacuumCostBalance = 0; /* working state for vacuum */
bool VacuumCostActive = false;
* Hook on object accesses. This is intended as infrastructure for security
* and logging plugins.
*/
-PGDLLIMPORT object_access_hook_type object_access_hook = NULL;
+object_access_hook_type object_access_hook = NULL;