Re: BUG #18068: Insufficient permission unless SUPERUSER - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: BUG #18068: Insufficient permission unless SUPERUSER
Date
Msg-id CAKFQuwYSFjNYt-MmffEbNCnznpyp_8-hT5DCFUtAmFYCkdG4ww@mail.gmail.com
Whole thread Raw
In response to BUG #18068: Insufficient permission unless SUPERUSER  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #18068: Insufficient permission unless SUPERUSER  (Ghw <ghw@ghwfluffy.com>)
List pgsql-bugs
On Wednesday, August 23, 2023, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      18068
Logged by:          Thaddeus Fuller
Email address:      ghw@ghwfluffy.com
PostgreSQL version: 15.4
Operating system:   Ubuntu 22.04 / Docker
Description:       

CREATE DATABASE ${PGDATABASE};
CREATE USER ${PGUSER} WITH ENCRYPTED PASSWORD '${PGPASSWORD}';
GRANT ALL PRIVILEGES ON DATABASE ${PGDATABASE} TO ${PGUSER};
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO ${PGUSER};


You haven’t connected to the newly created database yet so the within database grants aren’t affecting the newly created database.

David J.
 

pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #18068: Insufficient permission unless SUPERUSER
Next
From: Jonathan Zacharuk
Date:
Subject: Error when using unquoted identifier that contains the word end in a begin atomic block