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

« back to all changes in this revision

Viewing changes to doc/src/sgml/man7/CREATE_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: CREATE 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 "CREATE VIEW" "7" "2014" "PostgreSQL 9.4beta3" "PostgreSQL 9.4beta3 Documentation"
 
10
.TH "CREATE VIEW" "7" "2015" "PostgreSQL 9.4.1" "PostgreSQL 9.4.1 Documentation"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * Define some portability stuff
13
13
.\" -----------------------------------------------------------------
36
36
    [ WITH ( \fIview_option_name\fR [= \fIview_option_value\fR] [, \&.\&.\&. ] ) ]
37
37
    AS \fIquery\fR
38
38
    [ WITH [ CASCADED | LOCAL ] CHECK OPTION ]
39
 
 
40
 
where \fIview_option_name\fR can be one of:
41
 
 
42
 
    security_barrier [ \fIboolean\fR ]
43
 
    check_option [ \fItext\fR (local or cascaded) ]
44
39
.fi
45
40
.SH "DESCRIPTION"
46
41
.PP
110
105
.RS 4
111
106
This clause specifies optional parameters for a view; the following parameters are supported:
112
107
.PP
113
 
security_barrier(boolean)
114
 
.RS 4
115
 
This should be used if the view is intended to provide row\-level security\&. See
116
 
Section 38.5, \(lqRules and Privileges\(rq, in the documentation
117
 
for full details\&.
118
 
.RE
119
 
.PP
120
 
check_option(text)
 
108
check_option (string)
121
109
.RS 4
122
110
This parameter may be either
123
111
local
127
115
(see below)\&. This option can be changed on existing views using
128
116
ALTER VIEW (\fBALTER_VIEW\fR(7))\&.
129
117
.RE
 
118
.PP
 
119
security_barrier (string)
 
120
.RS 4
 
121
This should be used if the view is intended to provide row\-level security\&. See
 
122
Section 38.5, \(lqRules and Privileges\(rq, in the documentation
 
123
for full details\&.
 
124
.RE
130
125
.sp
131
126
.RE
132
127
.PP