pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Docs: provide a concrete discussion and example for RLS race con
Date: Mon, 04 Jan 2016 20:11:53 +0000
Message-ID: <E1aGBTt-0007K5-Fy@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Docs: provide a concrete discussion and example for RLS race conditions.

Commit 43cd468cf01007f3 added some wording to create_policy.sgml purporting
to warn users against a race condition of the sort that had been noted some
time ago by Peter Geoghegan.  However, that warning was far too vague to be
useful (or at least, I completely failed to grasp what it was on about).
Since the problem case occurs with a security design pattern that lots of
people are likely to try to use, we need to be as clear as possible about
it.  Provide a concrete example in the main-line docs in place of the
original warning.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7debf36072b3a088b3003aab6dcf57c3f186100d

Modified Files
--------------
doc/src/sgml/ddl.sgml               |  114 +++++++++++++++++++++++++++++++++++
doc/src/sgml/ref/create_policy.sgml |   12 +---
2 files changed, 116 insertions(+), 10 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (2+ messages)  latest in thread

Message-ID: <E1aGBTt-0007K5-Fy@gemulon.postgresql.org>
Permalink:  ../E1aGBTt-0007K5-Fy@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1aGBTt-0007K5-Fy@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Docs: provide a concrete discussion and example for RLS race con
  In-Reply-To: <E1aGBTt-0007K5-Fy@gemulon.postgresql.org>
  References: <E1aGBTt-0007K5-Fy@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox