X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=src%2Fbackend%2Futils%2Finit%2Fglobals.c;h=4b66bd3e358bb8aea34b165f6ab47477e022305d;hb=e126958c2efdfc2d60b978d1fc7a780ff647e8ad;hp=5855fe466632400f3123e109c10231d2a275b57f;hpb=cc1ed40d57aa68322e43a7b0a3320a6c5aff010a;p=postgresql diff --git a/src/backend/utils/init/globals.c b/src/backend/utils/init/globals.c index 5855fe4666..4b66bd3e35 100644 --- a/src/backend/utils/init/globals.c +++ b/src/backend/utils/init/globals.c @@ -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;