mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +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:
@@ -3499,7 +3499,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).
|
||||
*/
|
||||
@@ -3657,7 +3657,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);
|
||||
@@ -3735,7 +3735,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.
|
||||
*/
|
||||
@@ -5188,7 +5188,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.
|
||||
*
|
||||
@@ -5245,7 +5245,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
|
||||
@@ -5837,7 +5837,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
|
||||
@@ -6073,7 +6073,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)
|
||||
@@ -7625,7 +7625,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).
|
||||
*/
|
||||
@@ -7905,7 +7905,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
|
||||
@@ -7990,7 +7990,7 @@ validate_option_array_item(const char *name, const char *value,
|
||||
* ERRCODE_INVALID_PARAMETER_VALUE SQLSTATE for check hook failures.
|
||||
*
|
||||
* Note that GUC_check_errmsg() etc are just macros that result in a direct
|
||||
* assignment to the associated variables. That is ugly, but forced by the
|
||||
* assignment to the associated variables. That is ugly, but forced by the
|
||||
* limitations of C's macro mechanisms.
|
||||
*/
|
||||
void
|
||||
|
Reference in New Issue
Block a user