]> granicus.if.org Git - postgresql/blobdiff - src/backend/utils/init/globals.c
Update copyright notices for year 2012.
[postgresql] / src / backend / utils / init / globals.c
index 5855fe466632400f3123e109c10231d2a275b57f..4b66bd3e358bb8aea34b165f6ab47477e022305d 100644 (file)
@@ -3,7 +3,7 @@
  * 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
  *
  *
@@ -29,6 +29,7 @@ ProtocolVersion FrontendProtocol;
 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;
@@ -85,6 +86,7 @@ pid_t         PostmasterPid = 0;
  */
 bool           IsPostmasterEnvironment = false;
 bool           IsUnderPostmaster = false;
+bool           IsBinaryUpgrade = false;
 
 bool           ExitOnAnyError = false;
 
@@ -114,6 +116,10 @@ int                        VacuumCostPageDirty = 20;
 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;
 
@@ -123,4 +129,4 @@ int                 GinFuzzySearchLimit = 0;
  * 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;