~ubuntu-branches/ubuntu/trusty/postgresql-9.3/trusty-updates

« back to all changes in this revision

Viewing changes to doc/src/sgml/html/sql-droprole.html

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2016-02-11 15:44:43 UTC
  • mfrom: (1.1.14) (18.1.4 trusty-security)
  • Revision ID: package-import@ubuntu.com-20160211154443-4ble5sr317jm0cm6
Tags: 9.3.11-0ubuntu0.14.04
* New upstream security/bug fix release: (LP: #1544576)
  - Fix infinite loops and buffer-overrun problems in regular expressions.
    Very large character ranges in bracket expressions could cause infinite
    loops in some cases, and memory overwrites in other cases.
    (CVE-2016-0773)
  - Prevent certain PL/Java parameters from being set by non-superusers.
    This change mitigates a PL/Java security bug (CVE-2016-0766), which was
    fixed in PL/Java by marking these parameters as superuser-only. To fix
    the security hazard for sites that update PostgreSQL more frequently
    than PL/Java, make the core code aware of them also.
  - See release notes for details about other fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
REV="MADE"
10
10
HREF="mailto:pgsql-docs@postgresql.org"><LINK
11
11
REL="HOME"
12
 
TITLE="PostgreSQL 9.3.10 Documentation"
 
12
TITLE="PostgreSQL 9.3.11 Documentation"
13
13
HREF="index.html"><LINK
14
14
REL="UP"
15
15
TITLE="SQL Commands"
26
26
HTTP-EQUIV="Content-Type"
27
27
CONTENT="text/html; charset=ISO-8859-1"><META
28
28
NAME="creation"
29
 
CONTENT="2015-10-05T19:31:56"></HEAD
 
29
CONTENT="2016-02-08T21:32:43"></HEAD
30
30
><BODY
31
31
CLASS="REFENTRY"
32
32
><DIV
44
44
VALIGN="bottom"
45
45
><A
46
46
HREF="index.html"
47
 
>PostgreSQL 9.3.10 Documentation</A
 
47
>PostgreSQL 9.3.11 Documentation</A
48
48
></TH
49
49
></TR
50
50
><TR
95
95
><DIV
96
96
CLASS="REFNAMEDIV"
97
97
><A
98
 
NAME="AEN76840"
 
98
NAME="AEN76879"
99
99
></A
100
100
><H2
101
101
>Name</H2
103
103
><DIV
104
104
CLASS="REFSYNOPSISDIV"
105
105
><A
106
 
NAME="AEN76845"
 
106
NAME="AEN76884"
107
107
></A
108
108
><H2
109
109
>Synopsis</H2
119
119
><DIV
120
120
CLASS="REFSECT1"
121
121
><A
122
 
NAME="AEN76848"
 
122
NAME="AEN76887"
123
123
></A
124
124
><H2
125
125
>Description</H2
139
139
>   A role cannot be removed if it is still referenced in any database
140
140
   of the cluster; an error will be raised if so.  Before dropping the role,
141
141
   you must drop all the objects it owns (or reassign their ownership)
142
 
   and revoke any privileges the role has been granted. The <A
 
142
   and revoke any privileges the role has been granted on other objects.
 
143
   The <A
143
144
HREF="sql-reassign-owned.html"
144
145
>REASSIGN OWNED</A
145
 
>
146
 
   and <A
 
146
> and <A
147
147
HREF="sql-drop-owned.html"
148
148
>DROP OWNED</A
149
149
>
150
 
   commands can be useful for this purpose.
 
150
   commands can be useful for this purpose; see <A
 
151
HREF="role-removal.html"
 
152
>Section 20.4</A
 
153
>
 
154
   for more discussion.
151
155
  </P
152
156
><P
153
157
>   However, it is not necessary to remove role memberships involving
162
166
><DIV
163
167
CLASS="REFSECT1"
164
168
><A
165
 
NAME="AEN76858"
 
169
NAME="AEN76898"
166
170
></A
167
171
><H2
168
172
>Parameters</H2
200
204
><DIV
201
205
CLASS="REFSECT1"
202
206
><A
203
 
NAME="AEN76871"
 
207
NAME="AEN76911"
204
208
></A
205
209
><H2
206
210
>Notes</H2
222
226
><DIV
223
227
CLASS="REFSECT1"
224
228
><A
225
 
NAME="AEN76876"
 
229
NAME="AEN76916"
226
230
></A
227
231
><H2
228
232
>Examples</H2
236
240
><DIV
237
241
CLASS="REFSECT1"
238
242
><A
239
 
NAME="AEN76880"
 
243
NAME="AEN76920"
240
244
></A
241
245
><H2
242
246
>Compatibility</H2
255
259
><DIV
256
260
CLASS="REFSECT1"
257
261
><A
258
 
NAME="AEN76885"
 
262
NAME="AEN76925"
259
263
></A
260
264
><H2
261
265
>See Also</H2