public inbox for [email protected]
help / color / mirror / Atom feedFrom: Sam Stearns <[email protected]>
To: Tom Lane <[email protected]>
Cc: Pgsql-admin <[email protected]>
Cc: Dugan Kniesteadt <[email protected]>
Cc: Henry Ashu <[email protected]>
Cc: Avi Vallarapu <[email protected]>
Subject: Re: INSERT Permission Denied
Date: Thu, 25 Sep 2025 10:06:18 -0700
Message-ID: <CAN6TVjm0JfhQ1g7RR52MoFmgjqM7eb0+Lz5NaDGt=WZwXV698w@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAN6TVj=MEs68RQJ3sBBNW9CH9OuwnTSj1OpgVvNrE+voWz7aHg@mail.gmail.com>
<[email protected]>
USAGE has already been granted.
On Thu, Sep 25, 2025 at 9:58 AM Tom Lane <[email protected]> wrote:
> Sam Stearns <sam. stearns@ dat. com> writes: > I have an INSERT: > that's
> failing with permission denied on the schema: > ERROR: permission denied
> for schema treg > LINE 1: SELECT 1 FROM ONLY "treg". "cd_combined_offices"
> x WHERE
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
>
> ZjQcmQRYFpfptBannerEnd
>
> Sam Stearns <[email protected]> writes:
> > I have an INSERT:
> > that's failing with permission denied on the schema:
> > ERROR: permission denied for schema treg
> > LINE 1: SELECT 1 FROM ONLY "treg"."cd_combined_offices" x WHERE "com...
> > ^
>
> You need to grant USAGE permission on that schema. It's roughly
> comparable to search privilege on a directory in most OSes.
>
> regards, tom lane
>
>
--
Samuel Stearns
Team Lead - Database
c: 971 762 6879 | o: 971 762 6879 | DAT.com
<https://www.dat.com/?utm_medium=email&utm_source=DAT_email_signature_link;
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: INSERT Permission Denied
In-Reply-To: <CAN6TVjm0JfhQ1g7RR52MoFmgjqM7eb0+Lz5NaDGt=WZwXV698w@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox