pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Avoid rare race condition in privileges.sql regression test. 7+ messages / 1 participants [nested] [flat]
* pgsql: Avoid rare race condition in privileges.sql regression test. @ 2018-10-16 17:57 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-16 17:57 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid rare race condition in privileges.sql regression test. We created a temp table, then switched to a new session, leaving the old session to clean up its temp objects in background. If that took long enough, the eventual attempt to drop the user that owns the temp table could fail, as exhibited today by sidewinder. Fix by dropping the temp table explicitly when we're done with it. It's been like this for quite some time, so back-patch to all supported branches. Report: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sidewinder&dt=2018-10-16%2014%3A45%3A00 Branch ------ REL9_3_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9d974fa39d264df2033ea04bf740d39acd5a3943 Modified Files -------------- src/test/regress/expected/privileges.out | 1 + src/test/regress/sql/privileges.sql | 1 + 2 files changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Avoid rare race condition in privileges.sql regression test. @ 2018-10-16 17:57 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-16 17:57 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid rare race condition in privileges.sql regression test. We created a temp table, then switched to a new session, leaving the old session to clean up its temp objects in background. If that took long enough, the eventual attempt to drop the user that owns the temp table could fail, as exhibited today by sidewinder. Fix by dropping the temp table explicitly when we're done with it. It's been like this for quite some time, so back-patch to all supported branches. Report: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sidewinder&dt=2018-10-16%2014%3A45%3A00 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/f7a953c2d870185499faaabd06983526a83eb387 Modified Files -------------- src/test/regress/expected/privileges.out | 1 + src/test/regress/sql/privileges.sql | 1 + 2 files changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Avoid rare race condition in privileges.sql regression test. @ 2018-10-16 17:57 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-16 17:57 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid rare race condition in privileges.sql regression test. We created a temp table, then switched to a new session, leaving the old session to clean up its temp objects in background. If that took long enough, the eventual attempt to drop the user that owns the temp table could fail, as exhibited today by sidewinder. Fix by dropping the temp table explicitly when we're done with it. It's been like this for quite some time, so back-patch to all supported branches. Report: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sidewinder&dt=2018-10-16%2014%3A45%3A00 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7bee1d520d12e5880a733e4b1c1fb53bf69df03a Modified Files -------------- src/test/regress/expected/privileges.out | 1 + src/test/regress/sql/privileges.sql | 1 + 2 files changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Avoid rare race condition in privileges.sql regression test. @ 2018-10-16 17:57 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-16 17:57 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid rare race condition in privileges.sql regression test. We created a temp table, then switched to a new session, leaving the old session to clean up its temp objects in background. If that took long enough, the eventual attempt to drop the user that owns the temp table could fail, as exhibited today by sidewinder. Fix by dropping the temp table explicitly when we're done with it. It's been like this for quite some time, so back-patch to all supported branches. Report: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sidewinder&dt=2018-10-16%2014%3A45%3A00 Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4166fb3a754ef03a8d0dd7b709f9599cb7a054d9 Modified Files -------------- src/test/regress/expected/privileges.out | 1 + src/test/regress/sql/privileges.sql | 1 + 2 files changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Avoid rare race condition in privileges.sql regression test. @ 2018-10-16 17:57 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-16 17:57 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid rare race condition in privileges.sql regression test. We created a temp table, then switched to a new session, leaving the old session to clean up its temp objects in background. If that took long enough, the eventual attempt to drop the user that owns the temp table could fail, as exhibited today by sidewinder. Fix by dropping the temp table explicitly when we're done with it. It's been like this for quite some time, so back-patch to all supported branches. Report: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sidewinder&dt=2018-10-16%2014%3A45%3A00 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7249d1d64127b0856d81d3774c7641712ab3a6ef Modified Files -------------- src/test/regress/expected/privileges.out | 1 + src/test/regress/sql/privileges.sql | 1 + 2 files changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Avoid rare race condition in privileges.sql regression test. @ 2018-10-16 17:57 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-16 17:57 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid rare race condition in privileges.sql regression test. We created a temp table, then switched to a new session, leaving the old session to clean up its temp objects in background. If that took long enough, the eventual attempt to drop the user that owns the temp table could fail, as exhibited today by sidewinder. Fix by dropping the temp table explicitly when we're done with it. It's been like this for quite some time, so back-patch to all supported branches. Report: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sidewinder&dt=2018-10-16%2014%3A45%3A00 Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/75b3b137009991b996d56e91648cfacd1ed9f66a Modified Files -------------- src/test/regress/expected/privileges.out | 1 + src/test/regress/sql/privileges.sql | 1 + 2 files changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Avoid rare race condition in privileges.sql regression test. @ 2018-10-16 17:57 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-16 17:57 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid rare race condition in privileges.sql regression test. We created a temp table, then switched to a new session, leaving the old session to clean up its temp objects in background. If that took long enough, the eventual attempt to drop the user that owns the temp table could fail, as exhibited today by sidewinder. Fix by dropping the temp table explicitly when we're done with it. It's been like this for quite some time, so back-patch to all supported branches. Report: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sidewinder&dt=2018-10-16%2014%3A45%3A00 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/49a1c22889d428558c8e5accb55afa538ef0ca3f Modified Files -------------- src/test/regress/expected/privileges.out | 1 + src/test/regress/sql/privileges.sql | 1 + 2 files changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2018-10-16 17:57 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-10-16 17:57 pgsql: Avoid rare race condition in privileges.sql regression test. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-16 17:57 pgsql: Avoid rare race condition in privileges.sql regression test. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-16 17:57 pgsql: Avoid rare race condition in privileges.sql regression test. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-16 17:57 pgsql: Avoid rare race condition in privileges.sql regression test. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-16 17:57 pgsql: Avoid rare race condition in privileges.sql regression test. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-16 17:57 pgsql: Avoid rare race condition in privileges.sql regression test. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-16 17:57 pgsql: Avoid rare race condition in privileges.sql regression test. 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