Re: a sentence in sepgsql.sgml says 180-degree opposite

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Kohei KaiGai <kaigai(at)kaigai(dot)gr(dot)jp>
Cc: PgHacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: a sentence in sepgsql.sgml says 180-degree opposite
Date: 2013-01-25 02:22:07
Message-ID: 20130125022207.GQ21914@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Sep 9, 2012 at 07:06:07PM +0200, Kohei KaiGai wrote:
> I noticed a sentence in sepgsql says 180-degree opposite at:
>
> When <literal>DROP</> command is executed, <literal>drop</> will be
> checked on the object being removed for each object types. Permissions
> "will not be" checked for objects dropped indirectly via <literal>CASCADE</>.
>
> This should be "will also be", as our implementation doing.
> I'm not sure why I described such a wrong stuff. Anyway, the attached
> patch will fix it.

Patch attached to git head and 9.2. Sorry for the delay.

---------------------------------------------------------------------------

>
> Thanks,
> --
> KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>

> doc/src/sgml/sepgsql.sgml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/src/sgml/sepgsql.sgml b/doc/src/sgml/sepgsql.sgml
> index ff083a0..27bc2e6 100644
> --- a/doc/src/sgml/sepgsql.sgml
> +++ b/doc/src/sgml/sepgsql.sgml
> @@ -443,7 +443,7 @@ UPDATE t1 SET x = 2, y = md5sum(y) WHERE z = 100;
> <para>
> When <literal>DROP</> command is executed, <literal>drop</> will be
> checked on the object being removed for each object types. Permissions
> - will not be checked for objects dropped indirectly via <literal>CASCADE</>.
> + will be also checked for objects dropped indirectly via <literal>CASCADE</>.
> Deletion of objects contained within a particular schema (tables, views,
> sequences and procedures) additionally requires
> <literal>remove_name</> on the schema.

>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2013-01-25 02:45:23 Re: Question about SSI, subxacts, and aborted read-only xacts
Previous Message Tom Lane 2013-01-25 02:17:57 Re: Prepared statements fail after schema changes with surprising error