diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2002-08-11 17:44:12 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2002-08-11 17:44:12 +0000 |
commit | 9bccdf17f725550e463fbc9fddf0acf2ed3a8e66 (patch) | |
tree | 9d63659d933d5fe784af86107ee2272cb2406c5b /doc/src/sgml/ref/create_cast.sgml | |
parent | 014a86ac479272868c677b979b6049dedbf3bb33 (diff) | |
download | postgresql-9bccdf17f725550e463fbc9fddf0acf2ed3a8e66.tar.gz postgresql-9bccdf17f725550e463fbc9fddf0acf2ed3a8e66.zip |
Create/drop cast now requires ownership of at least one of the types.
Diffstat (limited to 'doc/src/sgml/ref/create_cast.sgml')
-rw-r--r-- | doc/src/sgml/ref/create_cast.sgml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/doc/src/sgml/ref/create_cast.sgml b/doc/src/sgml/ref/create_cast.sgml index 81259949f1e..7fd5ba0d470 100644 --- a/doc/src/sgml/ref/create_cast.sgml +++ b/doc/src/sgml/ref/create_cast.sgml @@ -1,4 +1,4 @@ -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_cast.sgml,v 1.1 2002/07/18 23:11:27 petere Exp $ --> +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_cast.sgml,v 1.2 2002/08/11 17:44:12 petere Exp $ --> <refentry id="SQL-CREATECAST"> <refmeta> @@ -81,9 +81,8 @@ INSERT INTO foo(f1) VALUES(42); </para> <para> - To be able to create a cast, you must own the underlying function. - To be able to create a binary compatible cast, you must own both - the source and the target data type. + To be able to create a cast, you must own the source or the target + data type. </para> <variablelist> @@ -155,11 +154,6 @@ INSERT INTO foo(f1) VALUES(42); </para> <para> - The privileges required to create a cast may be changed in a future - release. - </para> - - <para> Remember that if you want to be able to convert types both ways you need to declare casts both ways explicitly. </para> |