~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to doc/src/sgml/ref/drop_group.sgml

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!--
 
2
$PostgreSQL: pgsql/doc/src/sgml/ref/drop_group.sgml,v 1.10 2005-01-09 05:57:45 tgl Exp $
 
3
PostgreSQL documentation
 
4
-->
 
5
 
 
6
<refentry id="SQL-DROPGROUP">
 
7
 <refmeta>
 
8
  <refentrytitle id="SQL-DROPGROUP-TITLE">DROP GROUP</refentrytitle>
 
9
  <refmiscinfo>SQL - Language Statements</refmiscinfo>
 
10
 </refmeta>
 
11
 
 
12
 <refnamediv>
 
13
  <refname>DROP GROUP</refname>
 
14
  <refpurpose>remove a user group</refpurpose>
 
15
 </refnamediv>
 
16
 
 
17
 <indexterm zone="sql-dropgroup">
 
18
  <primary>DROP GROUP</primary>
 
19
 </indexterm>
 
20
 
 
21
 <refsynopsisdiv>
 
22
<synopsis>
 
23
DROP GROUP <replaceable class="PARAMETER">name</replaceable>
 
24
</synopsis>
 
25
 </refsynopsisdiv>
 
26
 
 
27
 <refsect1>
 
28
  <title>Description</title>
 
29
 
 
30
  <para>
 
31
   <command>DROP GROUP</command> removes the specified group.  The
 
32
   users in the group are not removed.
 
33
  </para>
 
34
 </refsect1>
 
35
  
 
36
 <refsect1>
 
37
  <title>Parameters</title>
 
38
 
 
39
  <variablelist>
 
40
   <varlistentry>
 
41
    <term><replaceable class="PARAMETER">name</replaceable></term>
 
42
    <listitem>
 
43
     <para>
 
44
      The name of an existing group.
 
45
     </para>
 
46
    </listitem>
 
47
   </varlistentry>
 
48
  </variablelist>
 
49
 </refsect1>
 
50
 
 
51
 <refsect1>
 
52
  <title>Notes</title>
 
53
 
 
54
  <para>
 
55
   It is unwise to drop a group that has any
 
56
   granted permissions on objects.  Currently, this is not enforced,
 
57
   but it is likely that future versions of
 
58
   <productname>PostgreSQL</productname> will check for the error.
 
59
  </para>
 
60
 </refsect1>
 
61
 
 
62
 <refsect1>
 
63
  <title>Examples</title>
 
64
 
 
65
  <para>
 
66
   To drop a group:
 
67
<programlisting>
 
68
DROP GROUP staff;
 
69
</programlisting>
 
70
  </para>
 
71
 </refsect1>
 
72
 
 
73
 <refsect1>
 
74
  <title>Compatibility</title>
 
75
 
 
76
  <para>
 
77
   There is no <command>DROP GROUP</command> statement in the SQL standard.
 
78
  </para>
 
79
 </refsect1>
 
80
 
 
81
 <refsect1>
 
82
  <title>See Also</title>
 
83
 
 
84
  <simplelist type="inline">
 
85
   <member><xref linkend="sql-altergroup" endterm="sql-altergroup-title"></member>
 
86
   <member><xref linkend="sql-creategroup" endterm="sql-creategroup-title"></member>
 
87
  </simplelist>
 
88
 </refsect1>
 
89
 
 
90
</refentry>
 
91
 
 
92
<!-- Keep this comment at the end of the file
 
93
Local variables:
 
94
mode: sgml
 
95
sgml-omittag:nil
 
96
sgml-shorttag:t
 
97
sgml-minimize-attributes:nil
 
98
sgml-always-quote-attributes:t
 
99
sgml-indent-step:1
 
100
sgml-indent-data:t
 
101
sgml-parent-document:nil
 
102
sgml-default-dtd-file:"../reference.ced"
 
103
sgml-exposed-tags:nil
 
104
sgml-local-catalogs:"/usr/lib/sgml/catalog"
 
105
sgml-local-ecat-files:nil
 
106
End:
 
107
-->