diff --git a/ansible/vars.yml b/ansible/vars.yml index d0251b3dc..0d40276bb 100644 --- a/ansible/vars.yml +++ b/ansible/vars.yml @@ -9,9 +9,9 @@ postgres_major: # Full version strings for each major version postgres_release: - postgresorioledb-17: "17.0.1.067-orioledb" - postgres17: "17.4.1.017" - postgres15: "15.8.1.074" + postgresorioledb-17: "17.0.1.068-orioledb-rc-1" + postgres17: "17.4.1.018-rc-1" + postgres15: "15.8.1.075-rc-1" # Non Postgres Extensions pgbouncer_release: "1.19.0" diff --git a/migrations/schema-15.sql b/migrations/schema-15.sql index 56390f882..5a38517ba 100644 --- a/migrations/schema-15.sql +++ b/migrations/schema-15.sql @@ -495,13 +495,13 @@ begin raise debug 'PgBouncer auth request: %', p_usename; return query - select - rolname::text, - case when rolvaliduntil < now() - then null - else rolpassword::text - end - from pg_authid + select + rolname::text, + case when rolvaliduntil < now() + then null + else rolpassword::text + end + from pg_authid where rolname=$1 and rolcanlogin; end; $_$; diff --git a/migrations/schema-17.sql b/migrations/schema-17.sql index ed8480733..f120b1b27 100644 --- a/migrations/schema-17.sql +++ b/migrations/schema-17.sql @@ -482,13 +482,13 @@ begin raise debug 'PgBouncer auth request: %', p_usename; return query - select - rolname::text, - case when rolvaliduntil < now() - then null - else rolpassword::text - end - from pg_authid + select + rolname::text, + case when rolvaliduntil < now() + then null + else rolpassword::text + end + from pg_authid where rolname=$1 and rolcanlogin; end; $_$; diff --git a/migrations/schema-orioledb-17.sql b/migrations/schema-orioledb-17.sql index 482cefe88..8c5d32c39 100644 --- a/migrations/schema-orioledb-17.sql +++ b/migrations/schema-orioledb-17.sql @@ -496,13 +496,13 @@ begin raise debug 'PgBouncer auth request: %', p_usename; return query - select - rolname::text, - case when rolvaliduntil < now() - then null - else rolpassword::text - end - from pg_authid + select + rolname::text, + case when rolvaliduntil < now() + then null + else rolpassword::text + end + from pg_authid where rolname=$1 and rolcanlogin; end; $_$;