aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-09-01 04:13:11 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-09-01 04:13:11 +0000
commit3ff8cc45ad90a3c51b90dccb390b7421577d9ff6 (patch)
tree7fd80a9d4a50e81f5e9d6d70089403376814d3e6 /doc/src
parent33f395eada3e7f84a19059772012f304515eb6e7 (diff)
downloadpostgresql-3ff8cc45ad90a3c51b90dccb390b7421577d9ff6.tar.gz
postgresql-3ff8cc45ad90a3c51b90dccb390b7421577d9ff6.zip
Add a note about the difference between Postgres' treatment of the rights
of an object owner and the SQL spec's treatment of these rights.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/grant.sgml14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/grant.sgml b/doc/src/sgml/ref/grant.sgml
index 9ea480c57a3..d6a6ef94b6f 100644
--- a/doc/src/sgml/ref/grant.sgml
+++ b/doc/src/sgml/ref/grant.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/grant.sgml,v 1.42 2004/08/07 20:44:50 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/grant.sgml,v 1.43 2004/09/01 04:13:11 tgl Exp $
PostgreSQL documentation
-->
@@ -404,6 +404,18 @@ GRANT ALL PRIVILEGES ON kinds TO manuel;
</para>
<para>
+ <productname>PostgreSQL</productname> allows an object owner to revoke his
+ own ordinary privileges: for example, a table owner can make the table
+ read-only to himself by revoking his own INSERT, UPDATE, and DELETE
+ privileges. This is not possible according to the SQL standard. The
+ reason is that <productname>PostgreSQL</productname> treats the owner's
+ privileges as having been granted by the owner to himself; therefore he
+ can revoke them too. In the SQL standard, the owner's privileges are
+ granted by an assumed entity <quote>_SYSTEM</>. Not being
+ <quote>_SYSTEM</>, the owner cannot revoke these rights.
+ </para>
+
+ <para>
The SQL standard allows setting privileges for individual columns
within a table: