File tree Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -477,9 +477,8 @@ COMMENT ON FUNCTION extensions.set_graphql_placeholder() IS 'Reintroduces placeh
477477--
478478
479479CREATE FUNCTION pgbouncer .get_auth(p_usename text ) RETURNS TABLE(username text , password text )
480- LANGUAGE plpgsql
481- SET search_path = ' '
482- SECURITY DEFINER
480+ LANGUAGE plpgsql SECURITY DEFINER
481+ SET search_path TO ' '
483482 AS $_$
484483begin
485484 raise debug ' PgBouncer auth request: %' , p_usename;
@@ -496,8 +495,6 @@ begin
496495end;
497496$_$;
498497
499- REVOKE ALL ON FUNCTION pgbouncer .get_auth (p_usename TEXT ) FROM PUBLIC;
500- GRANT EXECUTE ON FUNCTION pgbouncer .get_auth (p_usename TEXT ) TO pgbouncer;
501498
502499SET default_tablespace = ' ' ;
503500
Original file line number Diff line number Diff line change @@ -478,9 +478,8 @@ COMMENT ON FUNCTION extensions.set_graphql_placeholder() IS 'Reintroduces placeh
478478--
479479
480480CREATE FUNCTION pgbouncer .get_auth(p_usename text ) RETURNS TABLE(username text , password text )
481- LANGUAGE plpgsql
482- SET search_path = ' '
483- SECURITY DEFINER
481+ LANGUAGE plpgsql SECURITY DEFINER
482+ SET search_path TO ' '
484483 AS $_$
485484begin
486485 raise debug ' PgBouncer auth request: %' , p_usename;
Original file line number Diff line number Diff line change @@ -492,9 +492,8 @@ COMMENT ON FUNCTION extensions.set_graphql_placeholder() IS 'Reintroduces placeh
492492--
493493
494494CREATE FUNCTION pgbouncer .get_auth(p_usename text ) RETURNS TABLE(username text , password text )
495- LANGUAGE plpgsql
496- SET search_path = ' '
497- SECURITY DEFINER
495+ LANGUAGE plpgsql SECURITY DEFINER
496+ SET search_path TO ' '
498497 AS $_$
499498begin
500499 raise debug ' PgBouncer auth request: %' , p_usename;
You can’t perform that action at this time.
0 commit comments