mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
pgindent run for 9.4
This includes removing tabs after periods in C comments, which was applied to back branches, so this change should not effect backpatching.
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
* In both cases, we need to be able to clean up the current transaction
|
||||
* gracefully, so we can't respond to the interrupt instantaneously ---
|
||||
* there's no guarantee that internal data structures would be self-consistent
|
||||
* if the code is interrupted at an arbitrary instant. Instead, the signal
|
||||
* if the code is interrupted at an arbitrary instant. Instead, the signal
|
||||
* handlers set flags that are checked periodically during execution.
|
||||
*
|
||||
* The CHECK_FOR_INTERRUPTS() macro is called at strategically located spots
|
||||
@@ -48,13 +48,13 @@
|
||||
* might sometimes be called in contexts that do *not* want to allow a cancel
|
||||
* or die interrupt. The HOLD_INTERRUPTS() and RESUME_INTERRUPTS() macros
|
||||
* allow code to ensure that no cancel or die interrupt will be accepted,
|
||||
* even if CHECK_FOR_INTERRUPTS() gets called in a subroutine. The interrupt
|
||||
* even if CHECK_FOR_INTERRUPTS() gets called in a subroutine. The interrupt
|
||||
* will be held off until CHECK_FOR_INTERRUPTS() is done outside any
|
||||
* HOLD_INTERRUPTS() ... RESUME_INTERRUPTS() section.
|
||||
*
|
||||
* Special mechanisms are used to let an interrupt be accepted when we are
|
||||
* waiting for a lock or when we are waiting for command input (but, of
|
||||
* course, only if the interrupt holdoff counter is zero). See the
|
||||
* course, only if the interrupt holdoff counter is zero). See the
|
||||
* related code for details.
|
||||
*
|
||||
* A lost connection is handled similarly, although the loss of connection
|
||||
@@ -65,7 +65,7 @@
|
||||
* A related, but conceptually distinct, mechanism is the "critical section"
|
||||
* mechanism. A critical section not only holds off cancel/die interrupts,
|
||||
* but causes any ereport(ERROR) or ereport(FATAL) to become ereport(PANIC)
|
||||
* --- that is, a system-wide reset is forced. Needless to say, only really
|
||||
* --- that is, a system-wide reset is forced. Needless to say, only really
|
||||
* *critical* code should be marked as a critical section! Currently, this
|
||||
* mechanism is only used for XLOG-related code.
|
||||
*
|
||||
@@ -266,7 +266,7 @@ extern int trace_recovery(int trace_level);
|
||||
|
||||
/*****************************************************************************
|
||||
* pdir.h -- *
|
||||
* POSTGRES directory path definitions. *
|
||||
* POSTGRES directory path definitions. *
|
||||
*****************************************************************************/
|
||||
|
||||
/* flags to be OR'd to form sec_context */
|
||||
@@ -304,7 +304,7 @@ extern bool superuser_arg(Oid roleid); /* given user is superuser */
|
||||
|
||||
/*****************************************************************************
|
||||
* pmod.h -- *
|
||||
* POSTGRES processing mode definitions. *
|
||||
* POSTGRES processing mode definitions. *
|
||||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
@@ -319,7 +319,7 @@ extern bool superuser_arg(Oid roleid); /* given user is superuser */
|
||||
* is used during the initial generation of template databases.
|
||||
*
|
||||
* Initialization mode: used while starting a backend, until all normal
|
||||
* initialization is complete. Some code behaves differently when executed
|
||||
* initialization is complete. Some code behaves differently when executed
|
||||
* in this mode to enable system bootstrapping.
|
||||
*
|
||||
* If a POSTGRES backend process is in normal mode, then all code may be
|
||||
@@ -351,7 +351,7 @@ extern ProcessingMode Mode;
|
||||
|
||||
|
||||
/*
|
||||
* Auxiliary-process type identifiers. These used to be in bootstrap.h
|
||||
* Auxiliary-process type identifiers. These used to be in bootstrap.h
|
||||
* but it seems saner to have them here, with the ProcessingMode stuff.
|
||||
* The MyAuxProcType global is defined and set in bootstrap.c.
|
||||
*/
|
||||
@@ -382,7 +382,7 @@ extern AuxProcType MyAuxProcType;
|
||||
|
||||
/*****************************************************************************
|
||||
* pinit.h -- *
|
||||
* POSTGRES initialization and cleanup definitions. *
|
||||
* POSTGRES initialization and cleanup definitions. *
|
||||
*****************************************************************************/
|
||||
|
||||
/* in utils/init/postinit.c */
|
||||
|
Reference in New Issue
Block a user