Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2023-05-21 01:32:54 +0000
committerBruce Momjian2023-05-21 01:32:54 +0000
commit9c0a0e2ed92a1a94ec30d36f8ea1ab12c928292b (patch)
treef1eadcecb542a98733da2ed16ce311248686ba1e /contrib/postgres_fdw
parentcf109ffc205063f82258e0643588491a153c3a45 (diff)
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
Diffstat (limited to 'contrib/postgres_fdw')
-rw-r--r--contrib/postgres_fdw/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/postgres_fdw/connection.c b/contrib/postgres_fdw/connection.c
index d918ba89e19..f839308b400 100644
--- a/contrib/postgres_fdw/connection.c
+++ b/contrib/postgres_fdw/connection.c
@@ -402,7 +402,7 @@ pgfdw_security_check(const char **keywords, const char **values, UserMapping *us
#ifdef ENABLE_GSS
/* Connected via GSSAPI with delegated credentials- all good. */
- if (PQconnectionUsedGSSAPI(conn) && be_gssapi_get_deleg(MyProcPort))
+ if (PQconnectionUsedGSSAPI(conn) && be_gssapi_get_delegation(MyProcPort))
return;
#endif
@@ -612,7 +612,7 @@ check_conn_params(const char **keywords, const char **values, UserMapping *user)
#ifdef ENABLE_GSS
/* ok if the user provided their own delegated credentials */
- if (be_gssapi_get_deleg(MyProcPort))
+ if (be_gssapi_get_delegation(MyProcPort))
return;
#endif