aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/create_cast.sgml12
-rw-r--r--doc/src/sgml/ref/drop_cast.sgml14
2 files changed, 7 insertions, 19 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>
diff --git a/doc/src/sgml/ref/drop_cast.sgml b/doc/src/sgml/ref/drop_cast.sgml
index 37152114bca..2f2cec02e14 100644
--- a/doc/src/sgml/ref/drop_cast.sgml
+++ b/doc/src/sgml/ref/drop_cast.sgml
@@ -1,4 +1,4 @@
-<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_cast.sgml,v 1.1 2002/07/18 23:11:27 petere Exp $ -->
+<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_cast.sgml,v 1.2 2002/08/11 17:44:12 petere Exp $ -->
<refentry id="SQL-DROPCAST">
<refmeta>
@@ -26,10 +26,9 @@ DROP CAST (<replaceable>sourcetype</replaceable> AS <replaceable>targettype</rep
</para>
<para>
- To be able to drop a cast, you must own the underlying function.
- To be able to drop a binary compatible cast, you must own both the
- source and the target data type. These are the same privileges
- that are required to create a cast.
+ To be able to drop a cast, you must own the source or the target
+ data type. These are the same privileges that are required to
+ create a cast.
</para>
<variablelist>
@@ -76,11 +75,6 @@ DROP CAST (<replaceable>sourcetype</replaceable> AS <replaceable>targettype</rep
<para>
Use <command>CREATE CAST</command> to create user-defined casts.
</para>
-
- <para>
- The privileges required to drop a cast may be changed in a future
- release.
- </para>
</refsect1>