BUG #6026: redundant sentences?

Поиск
Список
Период
Сортировка
Искать

BUG #6026: redundant sentences?

От:
"KOIZUMI Satoru" <koizumistr@minos.ocn.ne.jp>
Дата:
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).

Re: BUG #6026: redundant sentences?

От:
Bruce Momjian <bruce@momjian.us>
Дата:
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          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, privileges must be
     granted.
-    There are several different kinds of privilege: SELECT</>,
-    INSERT</>, UPDATE</>, DELETE</>,
-    TRUNCATE</>, REFERENCES</>, TRIGGER</>,
-    CREATE</>, CONNECT</>, TEMPORARY</>,
-    EXECUTE</>, and USAGE</>.
-    For more information on the different types of privileges supported by
-    PostgreSQL, see the
-     reference page.
    
  
    
!    There are several different privileges: SELECT</>,
     INSERT</>, UPDATE</>, DELETE</>,
     TRUNCATE</>, REFERENCES</>, TRIGGER</>,
     CREATE</>, CONNECT</>, TEMPORARY</>,
--- 1419,1428 ----
     (or a superuser) can do anything with the object. To allow
     other roles to use it, privileges must be
     granted.
    
  
    
!    There are different kinds of privileges: SELECT</>,
     INSERT</>, UPDATE</>, DELETE</>,
     TRUNCATE</>, REFERENCES</>, TRIGGER</>,
     CREATE</>, CONNECT</>, TEMPORARY</>,
FAQ