~ubuntu-branches/ubuntu/utopic/postgresql-9.4/utopic-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/man7/ALTER_VIEW.7

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, CVE-2014-8161
  • Date: 2015-02-06 12:31:46 UTC
  • mfrom: (1.1.5) (7.1.2 utopic-proposed)
  • Revision ID: package-import@ubuntu.com-20150206123146-vtmf30jbkm7w16p8
Tags: 9.4.1-0ubuntu0.14.10
* New upstream security/bug fix release (LP: #1418928)
  - Fix buffer overruns in to_char() [CVE-2015-0241]
  - Fix buffer overruns in contrib/pgcrypto [CVE-2015-0243]
  - Fix possible loss of frontend/backend protocol synchronization after an
    error [CVE-2015-0244]
  - Fix information leak via constraint-violation error messages
    [CVE-2014-8161]
  - See release notes for details about other fixes:
    http://www.postgresql.org/about/news/1569/

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
.\"     Title: ALTER VIEW
3
3
.\"    Author: The PostgreSQL Global Development Group
4
4
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
5
 
.\"      Date: 2014
6
 
.\"    Manual: PostgreSQL 9.4beta3 Documentation
7
 
.\"    Source: PostgreSQL 9.4beta3
 
5
.\"      Date: 2015
 
6
.\"    Manual: PostgreSQL 9.4.1 Documentation
 
7
.\"    Source: PostgreSQL 9.4.1
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "ALTER VIEW" "7" "2014" "PostgreSQL 9.4beta3" "PostgreSQL 9.4beta3 Documentation"
 
10
.TH "ALTER VIEW" "7" "2015" "PostgreSQL 9.4.1" "PostgreSQL 9.4.1 Documentation"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * Define some portability stuff
13
13
.\" -----------------------------------------------------------------
39
39
ALTER VIEW [ IF EXISTS ] \fIname\fR SET SCHEMA \fInew_schema\fR
40
40
ALTER VIEW [ IF EXISTS ] \fIname\fR SET ( \fIview_option_name\fR [= \fIview_option_value\fR] [, \&.\&.\&. ] )
41
41
ALTER VIEW [ IF EXISTS ] \fIname\fR RESET ( \fIview_option_name\fR [, \&.\&.\&. ] )
42
 
 
43
 
where \fIview_option_name\fR can be one of:
44
 
 
45
 
    security_barrier [ \fIboolean\fR ]
46
 
    check_option [ \fItext\fR (local or cascaded) ]
47
42
.fi
48
43
.SH "DESCRIPTION"
49
44
.PP
94
89
The new schema for the view\&.
95
90
.RE
96
91
.PP
97
 
\fIview_option_name\fR
98
 
.RS 4
99
 
The name of a view option to be set or reset\&.
100
 
.RE
101
 
.PP
102
 
\fIview_option_value\fR
103
 
.RS 4
104
 
The new value for a view option\&.
 
92
SET ( \fIview_option_name\fR [= \fIview_option_value\fR] [, \&.\&.\&. ] )
 
93
.br
 
94
RESET ( \fIview_option_name\fR [, \&.\&.\&. ] )
 
95
.RS 4
 
96
Sets or resets a view option\&. Currently supported options are:
 
97
.PP
 
98
check_option (string)
 
99
.RS 4
 
100
Changes the check option of the view\&. The value must be
 
101
local
 
102
or
 
103
cascaded\&.
 
104
.RE
 
105
.PP
 
106
security_barrier (boolean)
 
107
.RS 4
 
108
Changes the security\-barrier property of the view\&. The value must be Boolean value, such as
 
109
true
 
110
or
 
111
false\&.
 
112
.RE
 
113
.sp
105
114
.RE
106
115
.SH "NOTES"
107
116
.PP