pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY i 5+ messages / 1 participants [nested] [flat]
* pgsql: Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY i @ 2018-08-27 19:11 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2018-08-27 19:11 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY items. The archive should show a dependency on the item's table, but it failed to include one. This could cause failures in parallel restore due to emitting ALTER TABLE ... ENABLE ROW LEVEL SECURITY before restoring the table's data. In practice the odds of a problem seem low, since you would typically need to have set FORCE ROW LEVEL SECURITY as well, and you'd also need a very high --jobs count to have any chance of this happening. That probably explains the lack of field reports. Still, it's a bug, so back-patch to 9.5 where RLS was introduced. Discussion: https://postgr.es/m/19784.1535390902@sss.pgh.pa.us Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/cbdca00bef59ee204313fe8f0e4f36bc804a38aa Modified Files -------------- src/bin/pg_dump/pg_dump.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY i @ 2018-08-27 19:11 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2018-08-27 19:11 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY items. The archive should show a dependency on the item's table, but it failed to include one. This could cause failures in parallel restore due to emitting ALTER TABLE ... ENABLE ROW LEVEL SECURITY before restoring the table's data. In practice the odds of a problem seem low, since you would typically need to have set FORCE ROW LEVEL SECURITY as well, and you'd also need a very high --jobs count to have any chance of this happening. That probably explains the lack of field reports. Still, it's a bug, so back-patch to 9.5 where RLS was introduced. Discussion: https://postgr.es/m/19784.1535390902@sss.pgh.pa.us Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c5e235ff8ad0f4907a736a6440dc4be6f939e65c Modified Files -------------- src/bin/pg_dump/pg_dump.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY i @ 2018-08-27 19:11 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2018-08-27 19:11 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY items. The archive should show a dependency on the item's table, but it failed to include one. This could cause failures in parallel restore due to emitting ALTER TABLE ... ENABLE ROW LEVEL SECURITY before restoring the table's data. In practice the odds of a problem seem low, since you would typically need to have set FORCE ROW LEVEL SECURITY as well, and you'd also need a very high --jobs count to have any chance of this happening. That probably explains the lack of field reports. Still, it's a bug, so back-patch to 9.5 where RLS was introduced. Discussion: https://postgr.es/m/19784.1535390902@sss.pgh.pa.us Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0f3dd76f527deb81ee5ba60048df04c598c93960 Modified Files -------------- src/bin/pg_dump/pg_dump.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY i @ 2018-08-27 19:11 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2018-08-27 19:11 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY items. The archive should show a dependency on the item's table, but it failed to include one. This could cause failures in parallel restore due to emitting ALTER TABLE ... ENABLE ROW LEVEL SECURITY before restoring the table's data. In practice the odds of a problem seem low, since you would typically need to have set FORCE ROW LEVEL SECURITY as well, and you'd also need a very high --jobs count to have any chance of this happening. That probably explains the lack of field reports. Still, it's a bug, so back-patch to 9.5 where RLS was introduced. Discussion: https://postgr.es/m/19784.1535390902@sss.pgh.pa.us Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/173df4cd36dfc8cbb36de908cea6bd03b13c0cb8 Modified Files -------------- src/bin/pg_dump/pg_dump.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY i @ 2018-08-27 19:11 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2018-08-27 19:11 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY items. The archive should show a dependency on the item's table, but it failed to include one. This could cause failures in parallel restore due to emitting ALTER TABLE ... ENABLE ROW LEVEL SECURITY before restoring the table's data. In practice the odds of a problem seem low, since you would typically need to have set FORCE ROW LEVEL SECURITY as well, and you'd also need a very high --jobs count to have any chance of this happening. That probably explains the lack of field reports. Still, it's a bug, so back-patch to 9.5 where RLS was introduced. Discussion: https://postgr.es/m/19784.1535390902@sss.pgh.pa.us Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/3998e55af0505458e99b11bb0b77bb528e647696 Modified Files -------------- src/bin/pg_dump/pg_dump.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2018-08-27 19:11 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-08-27 19:11 pgsql: Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY i Tom Lane <tgl@sss.pgh.pa.us> 2018-08-27 19:11 pgsql: Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY i Tom Lane <tgl@sss.pgh.pa.us> 2018-08-27 19:11 pgsql: Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY i Tom Lane <tgl@sss.pgh.pa.us> 2018-08-27 19:11 pgsql: Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY i Tom Lane <tgl@sss.pgh.pa.us> 2018-08-27 19:11 pgsql: Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY i 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