mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
Create/drop cast now requires ownership of at least one of the types.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user