diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-10-04 22:19:29 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-10-04 22:19:29 +0000 |
commit | 916d8164dffedeca2318c3df70e486a63a5a01f7 (patch) | |
tree | c767ad4f3d72f07f2cce46b5f5eec86d1ea876b6 /doc/src | |
parent | d2db166c7527552cc0ee6121fb32d11e14d36e97 (diff) | |
download | postgresql-916d8164dffedeca2318c3df70e486a63a5a01f7.tar.gz postgresql-916d8164dffedeca2318c3df70e486a63a5a01f7.zip |
Restrict CREATE OPERATOR CLASS to superusers, per discussion some weeks
ago.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/create_opclass.sgml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/create_opclass.sgml b/doc/src/sgml/ref/create_opclass.sgml index 74ac1a8d202..48f21435da5 100644 --- a/doc/src/sgml/ref/create_opclass.sgml +++ b/doc/src/sgml/ref/create_opclass.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_opclass.sgml,v 1.3 2002/09/21 18:32:54 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_opclass.sgml,v 1.4 2002/10/04 22:19:29 tgl Exp $ PostgreSQL documentation --> @@ -209,9 +209,10 @@ CREATE OPERATOR CLASS are for different index access methods. </para> <para> - The user who defines an operator class becomes its owner. The user - must own the data type for which the operator class is being defined, - and must have execute permission for all referenced operators and functions. + The user who defines an operator class becomes its owner. Presently, + the creating user must be a superuser. (This restriction is made because + an erroneous operator class definition could confuse or even crash the + server.) </para> <para> |