Debian Codegraph @

doc/src/sgml/ref/drop_user.sgml

raw
1 <!--
2 doc/src/sgml/ref/drop_user.sgml
3 PostgreSQL documentation
4 -->
5
6 <refentry id="sql-dropuser">
7 <indexterm zone="sql-dropuser">
8 <primary>DROP USER</primary>
9 </indexterm>
10
11 <refmeta>
12 <refentrytitle>DROP USER</refentrytitle>
13 <manvolnum>7</manvolnum>
14 <refmiscinfo>SQL - Language Statements</refmiscinfo>
15 </refmeta>
16
17 <refnamediv>
18 <refname>DROP USER</refname>
19 <refpurpose>remove a database role</refpurpose>
20 </refnamediv>
21
22 <refsynopsisdiv>
23 <synopsis>
24 DROP USER [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...]
25 </synopsis>
26 </refsynopsisdiv>
27
28 <refsect1>
29 <title>Description</title>
30
31 <para>
32 <command>DROP USER</command> is simply an alternate spelling of
33 <link linkend="sql-droprole"><command>DROP ROLE</command></link>.
34 </para>
35 </refsect1>
36
37 <refsect1>
38 <title>Compatibility</title>
39
40 <para>
41 The <command>DROP USER</command> statement is a
42 <productname>PostgreSQL</productname> extension. The SQL standard
43 leaves the definition of users to the implementation.
44 </para>
45 </refsect1>
46
47 <refsect1>
48 <title>See Also</title>
49
50 <simplelist type="inline">
51 <member><xref linkend="sql-droprole"/></member>
52 </simplelist>
53 </refsect1>
54
55 </refentry>