mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
rename "gss_accept_deleg" to "gss_accept_delegation".
This is more consistent with existing GUC spelling. Discussion: https://postgr.es/m/ZGdnEsGtNj7+fZoa@momjian.us
This commit is contained in:
@@ -384,7 +384,7 @@ pgstat_bestart(void)
|
||||
lbeentry.st_gss = true;
|
||||
lgssstatus.gss_auth = be_gssapi_get_auth(MyProcPort);
|
||||
lgssstatus.gss_enc = be_gssapi_get_enc(MyProcPort);
|
||||
lgssstatus.gss_deleg = be_gssapi_get_deleg(MyProcPort);
|
||||
lgssstatus.gss_delegation = be_gssapi_get_delegation(MyProcPort);
|
||||
if (princ)
|
||||
strlcpy(lgssstatus.gss_princ, princ, NAMEDATALEN);
|
||||
}
|
||||
|
||||
@@ -600,7 +600,7 @@ pg_stat_get_activity(PG_FUNCTION_ARGS)
|
||||
values[25] = BoolGetDatum(beentry->st_gssstatus->gss_auth); /* gss_auth */
|
||||
values[26] = CStringGetTextDatum(beentry->st_gssstatus->gss_princ);
|
||||
values[27] = BoolGetDatum(beentry->st_gssstatus->gss_enc); /* GSS Encryption in use */
|
||||
values[28] = BoolGetDatum(beentry->st_gssstatus->gss_deleg); /* GSS credentials
|
||||
values[28] = BoolGetDatum(beentry->st_gssstatus->gss_delegation); /* GSS credentials
|
||||
* delegated */
|
||||
}
|
||||
else
|
||||
|
||||
@@ -285,14 +285,14 @@ PerformAuthentication(Port *port)
|
||||
_(" GSS (authenticated=%s, encrypted=%s, deleg_credentials=%s, principal=%s)"),
|
||||
be_gssapi_get_auth(port) ? _("yes") : _("no"),
|
||||
be_gssapi_get_enc(port) ? _("yes") : _("no"),
|
||||
be_gssapi_get_deleg(port) ? _("yes") : _("no"),
|
||||
be_gssapi_get_delegation(port) ? _("yes") : _("no"),
|
||||
princ);
|
||||
else
|
||||
appendStringInfo(&logmsg,
|
||||
_(" GSS (authenticated=%s, encrypted=%s, deleg_credentials=%s)"),
|
||||
be_gssapi_get_auth(port) ? _("yes") : _("no"),
|
||||
be_gssapi_get_enc(port) ? _("yes") : _("no"),
|
||||
be_gssapi_get_deleg(port) ? _("yes") : _("no"));
|
||||
be_gssapi_get_delegation(port) ? _("yes") : _("no"));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1728,11 +1728,11 @@ struct config_bool ConfigureNamesBool[] =
|
||||
},
|
||||
|
||||
{
|
||||
{"gss_accept_deleg", PGC_SIGHUP, CONN_AUTH_AUTH,
|
||||
{"gss_accept_delegation", PGC_SIGHUP, CONN_AUTH_AUTH,
|
||||
gettext_noop("Sets whether GSSAPI delegation should be accepted from the client."),
|
||||
NULL
|
||||
},
|
||||
&pg_gss_accept_deleg,
|
||||
&pg_gss_accept_delegation,
|
||||
false,
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user