1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.40 2005/03 /1309:36:30 neilc Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.41 2005/06 /1302:40:01 neilc Exp $ -->
2
2
3
3
<chapter id="ddl">
4
4
<title>Data Definition</title>
@@ -1540,14 +1540,14 @@ ALTER TABLE products RENAME TO items;
1540
1540
There are several different privileges: <literal>SELECT</>,
1541
1541
<literal>INSERT</>, <literal>UPDATE</>, <literal>DELETE</>,
1542
1542
<literal>RULE</>, <literal>REFERENCES</>, <literal>TRIGGER</>,
1543
- <literal>CREATE</>, <literal>TEMPORARY</>, <literal>EXECUTE</>,
1544
- and <literal>USAGE</>. The privileges applicable to a particular
1543
+ <literal>CREATE</>, <literal>TEMPORARY</>, <literal>EXECUTE</>, and
1544
+ <literal>USAGE</>. The privileges applicable to a particular
1545
1545
object vary depending on the object's type (table, function, etc).
1546
- For complete
1547
- information on the different types of privileges supported by
1548
- <productname>PostgreSQL</productname>, refer to the
1549
- <xref linkend="sql-grant"> reference page. The following sections
1550
- and chapters will also show you how those privileges are used.
1546
+ For complete information on the different types of privileges
1547
+ supported by <productname>PostgreSQL</productname>, refer to the
1548
+ <xref linkend="sql-grant" endterm="sql-grant-title"> reference
1549
+ page. The following sections and chapters will also show you how
1550
+ those privileges are used.
1551
1551
</para>
1552
1552
1553
1553
<para>
@@ -1558,8 +1558,9 @@ ALTER TABLE products RENAME TO items;
1558
1558
<note>
1559
1559
<para>
1560
1560
To change the owner of a table, index, sequence, or view, use the
1561
- <xref linkend="sql-altertable"> command. There are corresponding
1562
- <literal>ALTER</> commands for other object types.
1561
+ <xref linkend="sql-altertable" endterm="sql-altertable-title">
1562
+ command. There are corresponding <literal>ALTER</> commands for
1563
+ other object types.
1563
1564
</para>
1564
1565
</note>
1565
1566
@@ -1596,14 +1597,15 @@ REVOKE ALL ON accounts FROM PUBLIC;
1596
1597
</para>
1597
1598
1598
1599
<para>
1599
- Ordinarily, only the object's owner (or a superuser) can grant or revoke
1600
- privileges on an object. However, it is possible to grant a privilege
1601
- <quote>with grant option</>, which gives the recipient the right to
1602
- grant it in turn to others. If the grant option is subsequently revoked
1603
- then all who received the privilege from that recipient (directly or
1604
- through a chain of grants) will lose the privilege. For details see
1605
- the <xref linkend="sql-grant"> and <xref linkend="sql-revoke"> reference
1606
- pages.
1600
+ Ordinarily, only the object's owner (or a superuser) can grant or
1601
+ revoke privileges on an object. However, it is possible to grant a
1602
+ privilege <quote>with grant option</>, which gives the recipient
1603
+ the right to grant it in turn to others. If the grant option is
1604
+ subsequently revoked then all who received the privilege from that
1605
+ recipient (directly or through a chain of grants) will lose the
1606
+ privilege. For details see the <xref linkend="sql-grant"
1607
+ endterm="sql-grant-title"> and <xref linkend="sql-revoke"
1608
+ endterm="sql-revoke-title"> reference pages.
1607
1609
</para>
1608
1610
</sect1>
1609
1611