Re: Privilege problems: access denied on select for owner? - Mailing list pgsql-general

From Tom Lane
Subject Re: Privilege problems: access denied on select for owner?
Date
Msg-id 6190.1249325920@sss.pgh.pa.us
Whole thread Raw
In response to Privilege problems: access denied on select for owner?  (Nathan Jahnke <njahnke@gmail.com>)
List pgsql-general
Nathan Jahnke <njahnke@gmail.com> writes:
> So the role "sample" owns the database "sample" and has default
> privileges on the table "users" in that database. From the manual:

> "There is no need to grant privileges to the owner of an object
> (usually the user that created it), as the owner has all privileges by
> default."

Owning the database has little or nothing to do with owning the objects
within it.  You have not shown us who owns the table users, but I bet
it's not "sample".

            regards, tom lane

pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: Privilege problems: access denied on select for owner?
Next
From: erobles
Date:
Subject: how can i mark date function like iscachable