Re: INSERT Permission Denied - Mailing list pgsql-admin

From Tom Lane
Subject Re: INSERT Permission Denied
Date
Msg-id 3772273.1758819489@sss.pgh.pa.us
Whole thread Raw
In response to INSERT Permission Denied  (Sam Stearns <sam.stearns@dat.com>)
Responses Re: INSERT Permission Denied
List pgsql-admin
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 "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



pgsql-admin by date:

Previous
From: Sam Stearns
Date:
Subject: INSERT Permission Denied
Next
From: Sam Stearns
Date:
Subject: Re: INSERT Permission Denied