diff options
author | Daniel Gustafsson | 2023-03-02 12:49:39 +0000 |
---|---|---|
committer | Daniel Gustafsson | 2023-03-02 12:49:39 +0000 |
commit | 7ab1bc2939f32aa995bdb81eaac3bb28f908e980 (patch) | |
tree | 79df7e4ce1b2ea07fa4da8576fe2faa455862dcd /src/backend | |
parent | 4ac30ba4f29d4b586b131404b0d514f16501272a (diff) |
Fix outdated references to guc.c
Commit 0a20ff54f split out the GUC variables from guc.c into a new file
guc_tables.c. This updates comments referencing guc.c regarding variables
which are now in guc_tables.c.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/6B50C70C-8C1F-4F9A-A7C0-EEAFCC032406@yesql.se
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/commands/variable.c | 2 | ||||
-rw-r--r-- | src/backend/libpq/be-secure-openssl.c | 3 | ||||
-rw-r--r-- | src/backend/storage/lmgr/predicate.c | 6 |
3 files changed, 6 insertions, 5 deletions
diff --git a/src/backend/commands/variable.c b/src/backend/commands/variable.c index bb0f5de4c2c..f0f2e076552 100644 --- a/src/backend/commands/variable.c +++ b/src/backend/commands/variable.c @@ -877,7 +877,7 @@ assign_session_authorization(const char *newval, void *extra) * a translation of "none" to InvalidOid. Otherwise this is much like * SET SESSION AUTHORIZATION. */ -extern char *role_string; /* in guc.c */ +extern char *role_string; /* in guc_tables.c */ bool check_role(char **newval, void **extra, GucSource source) diff --git a/src/backend/libpq/be-secure-openssl.c b/src/backend/libpq/be-secure-openssl.c index b3747f4fd87..685aa2ed69d 100644 --- a/src/backend/libpq/be-secure-openssl.c +++ b/src/backend/libpq/be-secure-openssl.c @@ -1557,7 +1557,8 @@ X509_NAME_to_cstring(X509_NAME *name) * Convert TLS protocol version GUC enum to OpenSSL values * * This is a straightforward one-to-one mapping, but doing it this way makes - * guc.c independent of OpenSSL availability and version. + * the definitions of ssl_min_protocol_version and ssl_max_protocol_version + * independent of OpenSSL availability and version. * * If a version is passed that is not supported by the current OpenSSL * version, then we return -1. If a nonnegative value is returned, diff --git a/src/backend/storage/lmgr/predicate.c b/src/backend/storage/lmgr/predicate.c index bfc352aed86..0f7f7ba5f11 100644 --- a/src/backend/storage/lmgr/predicate.c +++ b/src/backend/storage/lmgr/predicate.c @@ -364,9 +364,9 @@ static SERIALIZABLEXACT *OldCommittedSxact; * attempt to degrade performance (mostly as false positive serialization * failure) gracefully in the face of memory pressure. */ -int max_predicate_locks_per_xact; /* set by guc.c */ -int max_predicate_locks_per_relation; /* set by guc.c */ -int max_predicate_locks_per_page; /* set by guc.c */ +int max_predicate_locks_per_xact; /* in guc_tables.c */ +int max_predicate_locks_per_relation; /* in guc_tables.c */ +int max_predicate_locks_per_page; /* in guc_tables.c */ /* * This provides a list of objects in order to track transactions |