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(+)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.