~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-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
  • Date: 2013-02-05 18:13:52 UTC
  • mfrom: (1.1.10) (10.1.5 oneiric-proposed)
  • Revision ID: package-import@ubuntu.com-20130205181352-3kw4f94ilqklzm7c
Tags: 9.1.8-0ubuntu11.10
* New upstream security/bug fix release: (LP: #1116336)
  - Prevent execution of enum_recv from SQL
    The function was misdeclared, allowing a simple SQL command to crash the
    server.  In principle an attacker might be able to use it to examine the
    contents of server memory.  Our thanks to Sumit Soni (via Secunia SVCRP)
    for reporting this issue. (CVE-2013-0255)
  - See HISTORY/changelog.gz for the other bug fixes.

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.75.2 <http://docbook.sf.net/>
5
 
.\"      Date: 2012-08-14
6
 
.\"    Manual: PostgreSQL 9.1.5 Documentation
7
 
.\"    Source: PostgreSQL 9.1.5
 
5
.\"      Date: 2013-02-04
 
6
.\"    Manual: PostgreSQL 9.1.8 Documentation
 
7
.\"    Source: PostgreSQL 9.1.8
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "CREATE VIEW" "7" "2012-08-14" "PostgreSQL 9.1.5" "PostgreSQL 9.1.5 Documentation"
 
10
.TH "CREATE VIEW" "7" "2013-02-04" "PostgreSQL 9.1.8" "PostgreSQL 9.1.8 Documentation"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * Define some portability stuff
13
13
.\" -----------------------------------------------------------------
79
79
.RE
80
80
.SH "NOTES"
81
81
.PP
82
 
Currently, views are read only: the system will not allow an insert, update, or delete on a view\&. You can get the effect of an updatable view by creating rules that rewrite inserts, etc\&. on the view into appropriate actions on other tables\&. For more information see
83
 
CREATE RULE (\fBCREATE_RULE\fR(7))\&.
 
82
Currently, views are read only: the system will not allow an insert, update, or delete on a view\&. You can get the effect of an updatable view by creating
 
83
INSTEAD
 
84
triggers on the view, which must convert attempted inserts, etc\&. on the view into appropriate actions on other tables\&. For more information see
 
85
CREATE TRIGGER (\fBCREATE_TRIGGER\fR(7))\&. Another possibility is to create rules (see
 
86
CREATE RULE (\fBCREATE_RULE\fR(7))), but in practice triggers are easier to understand and use correctly\&.
84
87
.PP
85
88
Use the
86
89
DROP VIEW (\fBDROP_VIEW\fR(7))