mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Remove tabs after spaces in C comments
This was not changed in HEAD, but will be done later as part of a pgindent run. Future pgindent runs will also do this. Report by Tom Lane Backpatch through all supported branches, but not HEAD
This commit is contained in:
@ -3062,7 +3062,7 @@ get_guc_variables(void)
|
||||
|
||||
|
||||
/*
|
||||
* Build the sorted array. This is split out so that it could be
|
||||
* Build the sorted array. This is split out so that it could be
|
||||
* re-executed after startup (eg, we could allow loadable modules to
|
||||
* add vars, and then we'd need to re-sort).
|
||||
*/
|
||||
@ -3220,7 +3220,7 @@ add_placeholder_variable(const char *name, int elevel)
|
||||
|
||||
/*
|
||||
* The char* is allocated at the end of the struct since we have no
|
||||
* 'static' place to point to. Note that the current value, as well as
|
||||
* 'static' place to point to. Note that the current value, as well as
|
||||
* the boot and reset values, start out NULL.
|
||||
*/
|
||||
var->variable = (char **) (var + 1);
|
||||
@ -3298,7 +3298,7 @@ find_option(const char *name, bool create_placeholders, int elevel)
|
||||
return *res;
|
||||
|
||||
/*
|
||||
* See if the name is an obsolete name for a variable. We assume that the
|
||||
* See if the name is an obsolete name for a variable. We assume that the
|
||||
* set of supported old names is short enough that a brute-force search is
|
||||
* the best way.
|
||||
*/
|
||||
@ -3417,7 +3417,7 @@ InitializeGUCOptions(void)
|
||||
|
||||
/*
|
||||
* For historical reasons, some GUC parameters can receive defaults from
|
||||
* environment variables. Process those settings. NB: if you add or
|
||||
* environment variables. Process those settings. NB: if you add or
|
||||
* remove anything here, see also ProcessConfigFile().
|
||||
*/
|
||||
|
||||
@ -3933,7 +3933,7 @@ AtStart_GUC(void)
|
||||
|
||||
/*
|
||||
* Enter a new nesting level for GUC values. This is called at subtransaction
|
||||
* start and when entering a function that has proconfig settings. NOTE that
|
||||
* start and when entering a function that has proconfig settings. NOTE that
|
||||
* we must not risk error here, else subtransaction start will be unhappy.
|
||||
*/
|
||||
int
|
||||
@ -3978,7 +3978,7 @@ AtEOXact_GUC(bool isCommit, int nestLevel)
|
||||
GucStack *stack;
|
||||
|
||||
/*
|
||||
* Process and pop each stack entry within the nest level. To
|
||||
* Process and pop each stack entry within the nest level. To
|
||||
* simplify fmgr_security_definer(), we allow failure exit from a
|
||||
* function-with-SET-options to be recovered at the surrounding
|
||||
* transaction or subtransaction abort; so there could be more than
|
||||
@ -4732,7 +4732,7 @@ set_config_option(const char *name, const char *value,
|
||||
/*
|
||||
* We are reading a PGC_POSTMASTER var from postgresql.conf.
|
||||
* We can't change the setting, so give a warning if the DBA
|
||||
* tries to change it. (Throwing an error would be more
|
||||
* tries to change it. (Throwing an error would be more
|
||||
* consistent, but seems overly rigid.)
|
||||
*/
|
||||
if (changeVal && !is_newvalue_equal(record, value))
|
||||
@ -4775,7 +4775,7 @@ set_config_option(const char *name, const char *value,
|
||||
* If a PGC_BACKEND parameter is changed in the config file,
|
||||
* we want to accept the new value in the postmaster (whence
|
||||
* it will propagate to subsequently-started backends), but
|
||||
* ignore it in existing backends. This is a tad klugy, but
|
||||
* ignore it in existing backends. This is a tad klugy, but
|
||||
* necessary because we don't re-read the config file during
|
||||
* backend start.
|
||||
*
|
||||
@ -4832,7 +4832,7 @@ set_config_option(const char *name, const char *value,
|
||||
* An exception might be made if the reset value is assumed to be "safe".
|
||||
*
|
||||
* Note: this flag is currently used for "session_authorization" and
|
||||
* "role". We need to prohibit changing these inside a local userid
|
||||
* "role". We need to prohibit changing these inside a local userid
|
||||
* context because when we exit it, GUC won't be notified, leaving things
|
||||
* out of sync. (This could be fixed by forcing a new GUC nesting level,
|
||||
* but that would change behavior in possibly-undesirable ways.) Also, we
|
||||
@ -5335,7 +5335,7 @@ set_config_sourcefile(const char *name, char *sourcefile, int sourceline)
|
||||
|
||||
/*
|
||||
* Set a config option to the given value. See also set_config_option,
|
||||
* this is just the wrapper to be called from outside GUC. NB: this
|
||||
* this is just the wrapper to be called from outside GUC. NB: this
|
||||
* is used only for non-transactional operations.
|
||||
*
|
||||
* Note: there is no support here for setting source file/line, as it
|
||||
@ -5502,7 +5502,7 @@ GetConfigOptionResetString(const char *name)
|
||||
* report (in addition to the generic "invalid value for option FOO" that
|
||||
* guc.c will provide). Note that the result might be ERROR or a lower
|
||||
* level, so the caller must be prepared for control to return from ereport,
|
||||
* or not. If control does return, return false/NULL from the hook function.
|
||||
* or not. If control does return, return false/NULL from the hook function.
|
||||
*
|
||||
* At some point it'd be nice to replace this with a mechanism that allows
|
||||
* the custom message to become the DETAIL line of guc.c's generic message.
|
||||
@ -5648,7 +5648,7 @@ flatten_set_variable_args(const char *name, List *args)
|
||||
else
|
||||
{
|
||||
/*
|
||||
* Plain string literal or identifier. For quote mode,
|
||||
* Plain string literal or identifier. For quote mode,
|
||||
* quote it if it's not a vanilla identifier.
|
||||
*/
|
||||
if (flags & GUC_LIST_QUOTE)
|
||||
@ -7247,7 +7247,7 @@ ParseLongOption(const char *string, char **name, char **value)
|
||||
|
||||
/*
|
||||
* Handle options fetched from pg_db_role_setting.setconfig,
|
||||
* pg_proc.proconfig, etc. Caller must specify proper context/source/action.
|
||||
* pg_proc.proconfig, etc. Caller must specify proper context/source/action.
|
||||
*
|
||||
* The array parameter must be an array of TEXT (it must not be NULL).
|
||||
*/
|
||||
@ -7527,7 +7527,7 @@ GUCArrayReset(ArrayType *array)
|
||||
* Validate a proposed option setting for GUCArrayAdd/Delete/Reset.
|
||||
*
|
||||
* name is the option name. value is the proposed value for the Add case,
|
||||
* or NULL for the Delete/Reset cases. If skipIfNoPermissions is true, it's
|
||||
* or NULL for the Delete/Reset cases. If skipIfNoPermissions is true, it's
|
||||
* not an error to have no permissions to set the option.
|
||||
*
|
||||
* Returns TRUE if OK, FALSE if skipIfNoPermissions is true and user does not
|
||||
@ -7942,7 +7942,7 @@ assign_timezone_abbreviations(const char *newval, bool doit, GucSource source)
|
||||
|
||||
/*
|
||||
* If reading config file, only the postmaster should bleat loudly
|
||||
* about problems. Otherwise, it's just this one process doing it,
|
||||
* about problems. Otherwise, it's just this one process doing it,
|
||||
* and we use WARNING message level.
|
||||
*/
|
||||
if (source == PGC_S_FILE)
|
||||
|
Reference in New Issue
Block a user