File tree Expand file tree Collapse file tree 3 files changed +8
-15
lines changed Expand file tree Collapse file tree 3 files changed +8
-15
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
502499--
503500-- Name: extension(text); Type: FUNCTION; Schema: storage; Owner: -
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;
@@ -497,8 +496,7 @@ begin
497496end;
498497$_$;
499498
500- REVOKE ALL ON FUNCTION pgbouncer .get_auth (p_usename TEXT ) FROM PUBLIC;
501- GRANT EXECUTE ON FUNCTION pgbouncer .get_auth (p_usename TEXT ) TO pgbouncer;
499+
502500--
503501-- Name: extension(text); Type: FUNCTION; Schema: storage; Owner: -
504502--
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;
@@ -511,8 +510,7 @@ begin
511510end;
512511$_$;
513512
514- REVOKE ALL ON FUNCTION pgbouncer .get_auth (p_usename TEXT ) FROM PUBLIC;
515- GRANT EXECUTE ON FUNCTION pgbouncer .get_auth (p_usename TEXT ) TO pgbouncer;
513+
516514--
517515-- Name: extension(text); Type: FUNCTION; Schema: storage; Owner: -
518516--
You can’t perform that action at this time.
0 commit comments