pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Docs: provide a concrete discussion and example for RLS race con 2+ messages / 1 participants [nested] [flat]
* pgsql: Docs: provide a concrete discussion and example for RLS race con @ 2016-01-04 20:11 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2016-01-04 20:11 UTC (permalink / raw) To: pgsql-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 ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Docs: provide a concrete discussion and example for RLS race con @ 2016-01-04 20:11 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2016-01-04 20:11 UTC (permalink / raw) To: pgsql-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 ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/d878b115c350c18c0c9836c7652d5a179b5f9a33 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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2016-01-04 20:11 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-01-04 20:11 pgsql: Docs: provide a concrete discussion and example for RLS race con Tom Lane <tgl@sss.pgh.pa.us> 2016-01-04 20:11 pgsql: Docs: provide a concrete discussion and example for RLS race con Tom Lane <tgl@sss.pgh.pa.us>
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