KOIZUMI Satoru wrote:
>
> The following bug has been logged online:
>
> Bug reference: 6026
> Logged by: KOIZUMI Satoru
> Email address: koizumistr@minos.ocn.ne.jp
> PostgreSQL version: 9.1beta1
> Operating system: MacOSX
> Description: redundant sentences?
> Details:
>
> In 5.6. Privileges, there are sentences "There are several different kinds
> of privilege:...see the GRANT reference page. " in the first paragraph.
> But in the second paragraph, there are similar sentences "There are several
> different privileges:... refer to the GRANT reference page."
> This would be redundant (except the sentence "The privileges applicable to
> ..." in the second paragraph).
Agreed. This was my mistake when I merged our privilege sections.
Applied patch attached.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml
new file mode 100644
index 03c1fa0..9709dd6
*** a/doc/src/sgml/ddl.sgml
--- b/doc/src/sgml/ddl.sgml
*************** ALTER TABLE products RENAME TO items;
*** 1419,1436 ****
(or a superuser) can do anything with the object. To allow
other roles to use it, <firstterm>privileges</firstterm> must be
granted.
- There are several different kinds of privilege: <literal>SELECT</>,
- <literal>INSERT</>, <literal>UPDATE</>, <literal>DELETE</>,
- <literal>TRUNCATE</>, <literal>REFERENCES</>, <literal>TRIGGER</>,
- <literal>CREATE</>, <literal>CONNECT</>, <literal>TEMPORARY</>,
- <literal>EXECUTE</>, and <literal>USAGE</>.
- For more information on the different types of privileges supported by
- <productname>PostgreSQL</productname>, see the
- <xref linkend="sql-grant"> reference page.
</para>
<para>
! There are several different privileges: <literal>SELECT</>,
<literal>INSERT</>, <literal>UPDATE</>, <literal>DELETE</>,
<literal>TRUNCATE</>, <literal>REFERENCES</>, <literal>TRIGGER</>,
<literal>CREATE</>, <literal>CONNECT</>, <literal>TEMPORARY</>,
--- 1419,1428 ----
(or a superuser) can do anything with the object. To allow
other roles to use it, <firstterm>privileges</firstterm> must be
granted.
</para>
<para>
! There are different kinds of privileges: <literal>SELECT</>,
<literal>INSERT</>, <literal>UPDATE</>, <literal>DELETE</>,
<literal>TRUNCATE</>, <literal>REFERENCES</>, <literal>TRIGGER</>,
<literal>CREATE</>, <literal>CONNECT</>, <literal>TEMPORARY</>,