Re: about truncate - Mailing list pgsql-hackers

From Tom Lane
Subject Re: about truncate
Date
Msg-id 19628.1231509534@sss.pgh.pa.us
Whole thread Raw
In response to Re: about truncate  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: about truncate  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
>>> This area is under SQL standard control, so we can't really invent our  
>>> own behavior.

>> What *would* do the right thing here, or would anything?

> I think we don't need GRANT to be recursive, but instead the permission 
> checks at runtime should allow
> SELECT * FROM persons;
> to succeed even if there are no permissions on "employees".

Hmm, if we are supposing that the spec should control this, then
surely we can find chapter and verse spelling out what should happen.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: about truncate
Next
From: Heikki Linnakangas
Date:
Subject: foreign_data test fails with non-C locale