BUG #18725: "set role" requires "grant connect on database"

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: postgresql_tdba(at)ldbv(dot)bayern(dot)de
Subject: BUG #18725: "set role" requires "grant connect on database"
Date: 2024-11-27 15:42:36
Message-ID: 18725-9fd2f5084a8129ad@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18725
Logged by: itdlz tdba
Email address: postgresql_tdba(at)ldbv(dot)bayern(dot)de
PostgreSQL version: 16.6
Operating system: pgAdmin 4, Version 8.13
Description:

After minor release update to version 16.5 or 16.6 "set role" to role
without "grant connect on database" generates error:

"ERROR: Benutzer hat das CONNECT-Privileg nicht.keine Berechtigung für
Datenbank »...«
FEHLER: keine Berechtigung für Datenbank »...«
SQL state: 42501
Detail: Benutzer hat das CONNECT-Privileg nicht.
Context: paralleler Arbeitsprozess"

It works until version <= 16.4.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2024-11-27 16:03:36 Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails
Previous Message Nathan Bossart 2024-11-27 15:40:13 Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails