pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Improve RLS documentation with respect to COPY 3+ messages / 1 participants [nested] [flat]
* pgsql: Improve RLS documentation with respect to COPY @ 2016-12-23 01:57 Joe Conway <mail@joeconway.com> 0 siblings, 0 replies; 3+ messages in thread From: Joe Conway @ 2016-12-23 01:57 UTC (permalink / raw) To: pgsql-committers Improve RLS documentation with respect to COPY Documentation for pg_restore said COPY TO does not support row security when in fact it should say COPY FROM. Fix that. While at it, make it clear that "COPY FROM" does not allow RLS to be enabled and INSERT should be used instead. Also that SELECT policies will apply to COPY TO statements. Back-patch to 9.5 where RLS first appeared. Author: Joe Conway Reviewed-By: Dean Rasheed and Robert Haas Discussion: https://postgr.es/m/5744FA24.3030008%40joeconway.com Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/0a85c102254b72ec7ce16bc504206a1a5c84bd76 Modified Files -------------- doc/src/sgml/ref/copy.sgml | 9 +++++++++ doc/src/sgml/ref/pg_dump.sgml | 5 +++++ doc/src/sgml/ref/pg_restore.sgml | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) -- 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] 3+ messages in thread
* pgsql: Improve RLS documentation with respect to COPY @ 2016-12-23 01:58 Joe Conway <mail@joeconway.com> 0 siblings, 0 replies; 3+ messages in thread From: Joe Conway @ 2016-12-23 01:58 UTC (permalink / raw) To: pgsql-committers Improve RLS documentation with respect to COPY Documentation for pg_restore said COPY TO does not support row security when in fact it should say COPY FROM. Fix that. While at it, make it clear that "COPY FROM" does not allow RLS to be enabled and INSERT should be used instead. Also that SELECT policies will apply to COPY TO statements. Back-patch to 9.5 where RLS first appeared. Author: Joe Conway Reviewed-By: Dean Rasheed and Robert Haas Discussion: https://postgr.es/m/5744FA24.3030008%40joeconway.com Branch ------ REL9_6_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/51e9df7a1005fc7748c71cd359431f2a41ea678d Modified Files -------------- doc/src/sgml/ref/copy.sgml | 9 +++++++++ doc/src/sgml/ref/pg_dump.sgml | 5 +++++ doc/src/sgml/ref/pg_restore.sgml | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) -- 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] 3+ messages in thread
* pgsql: Improve RLS documentation with respect to COPY @ 2016-12-23 01:58 Joe Conway <mail@joeconway.com> 0 siblings, 0 replies; 3+ messages in thread From: Joe Conway @ 2016-12-23 01:58 UTC (permalink / raw) To: pgsql-committers Improve RLS documentation with respect to COPY Documentation for pg_restore said COPY TO does not support row security when in fact it should say COPY FROM. Fix that. While at it, make it clear that "COPY FROM" does not allow RLS to be enabled and INSERT should be used instead. Also that SELECT policies will apply to COPY TO statements. Back-patch to 9.5 where RLS first appeared. Author: Joe Conway Reviewed-By: Dean Rasheed and Robert Haas Discussion: https://postgr.es/m/5744FA24.3030008%40joeconway.com Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/53afdef662ef77a3f27fc36dbc0472f855069fd3 Modified Files -------------- doc/src/sgml/ref/copy.sgml | 9 +++++++++ doc/src/sgml/ref/pg_dump.sgml | 5 +++++ doc/src/sgml/ref/pg_restore.sgml | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) -- 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] 3+ messages in thread
end of thread, other threads:[~2016-12-23 01:58 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-12-23 01:57 pgsql: Improve RLS documentation with respect to COPY Joe Conway <mail@joeconway.com> 2016-12-23 01:58 pgsql: Improve RLS documentation with respect to COPY Joe Conway <mail@joeconway.com> 2016-12-23 01:58 pgsql: Improve RLS documentation with respect to COPY Joe Conway <mail@joeconway.com>
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