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