diff options
Diffstat (limited to 'doc/src/sgml/ref/drop_role.sgml')
-rw-r--r-- | doc/src/sgml/ref/drop_role.sgml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/drop_role.sgml b/doc/src/sgml/ref/drop_role.sgml index dc8a0896de1..d2364dabf48 100644 --- a/doc/src/sgml/ref/drop_role.sgml +++ b/doc/src/sgml/ref/drop_role.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/ref/drop_role.sgml,v 1.1 2005/07/26 23:24:02 tgl Exp $ +$PostgreSQL: pgsql/doc/src/sgml/ref/drop_role.sgml,v 1.2 2006/02/04 19:06:46 adunstan Exp $ PostgreSQL documentation --> @@ -20,7 +20,7 @@ PostgreSQL documentation <refsynopsisdiv> <synopsis> -DROP ROLE <replaceable class="PARAMETER">name</replaceable> [, ...] +DROP ROLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] </synopsis> </refsynopsisdiv> @@ -54,6 +54,17 @@ DROP ROLE <replaceable class="PARAMETER">name</replaceable> [, ...] <variablelist> <varlistentry> + <term><literal>IF EXISTS</literal></term> + <listitem> + <para> + Do not throw an error if the role does not exist. A notice is issued + in this case. + </para> + </listitem> + </varlistentry> + + <variablelist> + <varlistentry> <term><replaceable class="PARAMETER">name</replaceable></term> <listitem> <para> |