mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-09 03:07:35 +08:00
Run pgindent on 9.2 source tree in preparation for first 9.3
commit-fest.
This commit is contained in:
@ -51,7 +51,7 @@
|
||||
* is responsible for there being a trigger context for them to be queued in.
|
||||
*
|
||||
* WITH/WITHOUT_OIDS tell the executor to emit tuples with or without space
|
||||
* for OIDs, respectively. These are currently used only for CREATE TABLE AS.
|
||||
* for OIDs, respectively. These are currently used only for CREATE TABLE AS.
|
||||
* If neither is set, the plan may or may not produce tuples including OIDs.
|
||||
*/
|
||||
#define EXEC_FLAG_EXPLAIN_ONLY 0x0001 /* EXPLAIN, no ANALYZE */
|
||||
|
||||
@ -18,18 +18,18 @@
|
||||
|
||||
typedef struct BufferUsage
|
||||
{
|
||||
long shared_blks_hit; /* # of shared buffer hits */
|
||||
long shared_blks_hit; /* # of shared buffer hits */
|
||||
long shared_blks_read; /* # of shared disk blocks read */
|
||||
long shared_blks_dirtied; /* # of shared blocks dirtied */
|
||||
long shared_blks_written; /* # of shared disk blocks written */
|
||||
long local_blks_hit; /* # of local buffer hits */
|
||||
long local_blks_read; /* # of local disk blocks read */
|
||||
long local_blks_hit; /* # of local buffer hits */
|
||||
long local_blks_read; /* # of local disk blocks read */
|
||||
long local_blks_dirtied; /* # of shared blocks dirtied */
|
||||
long local_blks_written; /* # of local disk blocks written */
|
||||
long temp_blks_read; /* # of temp blocks read */
|
||||
long temp_blks_read; /* # of temp blocks read */
|
||||
long temp_blks_written; /* # of temp blocks written */
|
||||
instr_time blk_read_time; /* time spent reading */
|
||||
instr_time blk_write_time; /* time spent writing */
|
||||
instr_time blk_read_time; /* time spent reading */
|
||||
instr_time blk_write_time; /* time spent writing */
|
||||
} BufferUsage;
|
||||
|
||||
/* Flag bits included in InstrAlloc's instrument_options bitmask */
|
||||
@ -44,7 +44,7 @@ typedef enum InstrumentOption
|
||||
typedef struct Instrumentation
|
||||
{
|
||||
/* Parameters set at node creation: */
|
||||
bool need_timer; /* TRUE if we need timer data */
|
||||
bool need_timer; /* TRUE if we need timer data */
|
||||
bool need_bufusage; /* TRUE if we need buffer usage data */
|
||||
/* Info about current plan cycle: */
|
||||
bool running; /* TRUE if we've completed first tuple */
|
||||
|
||||
@ -48,7 +48,7 @@ typedef struct
|
||||
* adequate locks to prevent other backends from messing with the tables.
|
||||
*
|
||||
* For a saved plan, the plancxt is made a child of CacheMemoryContext
|
||||
* since it should persist until explicitly destroyed. Likewise, the
|
||||
* since it should persist until explicitly destroyed. Likewise, the
|
||||
* plancache entries will be under CacheMemoryContext since we tell
|
||||
* plancache.c to save them. We rely on plancache.c to keep the cache
|
||||
* entries up-to-date as needed in the face of invalidation events.
|
||||
|
||||
Reference in New Issue
Block a user