From 9c0a0e2ed92a1a94ec30d36f8ea1ab12c928292b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 20 May 2023 21:32:54 -0400 Subject: 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 --- contrib/postgres_fdw/connection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/postgres_fdw/connection.c') 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 -- cgit v1.2.3