Re: BUG #1794: inheritance removes permissions from the parent

From: Sean Burlington <sean(at)uncertainty(dot)org(dot)uk>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: BUG #1794: inheritance removes permissions from the parent
Date: 2005-07-31 16:16:32
Message-ID: 42ECF960.1020806@uncertainty.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

Michael Fuhr wrote:
> On Thu, Jul 28, 2005 at 03:56:14PM +0100, Sean Burlington wrote:
>
>>Michael Fuhr wrote:
>>
>>>On Thu, Jul 28, 2005 at 12:48:35PM +0100, Sean Burlington wrote:
>>>
>>>
>>>>Description: inheritance removes permissions from the parent table
>>>
>>>I think a more accurate description would be "permissions not
>>>inherited by children," and that isn't necessarily a bug.
>>
>>I agree it may not be a bug - but it's more than the permissions not
>>being inherited: the parent is affected.
>
>
> Not really, once you understand what's happening. Unless you use
> FROM ONLY, selecting from the parent selects from the parent *and*
> its children. The parent itself isn't affected, as queries with
> FROM ONLY should demonstrate. I understand what you're saying --
> that there's an apparent effect on the parent -- but there really
> isn't.
>
>
>>It would be handy if this was in the documentation for anyone else who
>>comes across this issue
>
>
> Feel free to submit a documentation patch to pgsql-patches :-)
>

OK - patch attached

I hope it's OK - I'm afraid I didn't spend too much time looking at the
best way to contribute patches and just went ahead and made one ...

--

Sean

Attachment Content-Type Size
ddl-sgml.patch text/x-patch 877 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Brian Herlihy 2005-08-01 03:38:23 Problem with large number of index conditions
Previous Message Alexey Vlasov 2005-07-31 09:51:22 Segmentation fault when choosing (inquiring) SELECT

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2005-07-31 17:02:33 Re: [HACKERS] Autovacuum loose ends
Previous Message Bruce Momjian 2005-07-31 13:40:18 Re: Remote administration functionality