pgsql: Doc: improve documentation about inheritance.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Doc: improve documentation about inheritance.
Date: 2016-10-26 15:46:38
Message-ID: E1bzQPW-0000yx-NM@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Doc: improve documentation about inheritance.

Clarify documentation about inheritance of check constraints, in
particular mentioning the NO INHERIT option, which didn't exist when
this text was written.

Document that in an inherited query, the applicable row security policies
are those of the explicitly-named table, not its children. This is the
intended behavior (per off-list discussion with Stephen Frost), and there
are regression tests for it, but it wasn't documented anywhere user-facing
as far as I could find.

Do a bit of wordsmithing on the description of inherited access-privilege
checks.

Back-patch to 9.5 where RLS was added.

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/fab220b415700ac29637465e96f6745ec6e1cdb6

Modified Files
--------------
doc/src/sgml/ddl.sgml | 32 +++++++++++++++++++++-----------
1 file changed, 21 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-10-26 17:41:30 pgsql: Fix not-HAVE_SYMLINK code in zic.c.
Previous Message Tom Lane 2016-10-26 14:20:07 pgsql: Suppress unused-variable warning in non-assert builds.