1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +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:
Bruce Momjian
2023-05-20 21:32:54 -04:00
parent cf109ffc20
commit 9c0a0e2ed9
13 changed files with 21 additions and 21 deletions

View File

@ -2604,7 +2604,7 @@ dblink_security_check(PGconn *conn, remoteConn *rconn, const char *connstr)
#ifdef ENABLE_GSS
/* If GSSAPI creds used to connect, make sure it was one delegated */
if (PQconnectionUsedGSSAPI(conn) && be_gssapi_get_deleg(MyProcPort))
if (PQconnectionUsedGSSAPI(conn) && be_gssapi_get_delegation(MyProcPort))
return;
#endif
@ -2671,7 +2671,7 @@ dblink_connstr_check(const char *connstr)
return;
#ifdef ENABLE_GSS
if (be_gssapi_get_deleg(MyProcPort))
if (be_gssapi_get_delegation(MyProcPort))
return;
#endif