aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/formatting.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-10-16 13:56:58 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-10-16 13:56:58 -0400
commitf7a953c2d870185499faaabd06983526a83eb387 (patch)
tree384c8fe68ada5cd8f597c46f1f7a4e90f413b8d5 /src/backend/utils/adt/formatting.c
parentfd85e9f78d44f0f36776e644380ada077451c992 (diff)
downloadpostgresql-f7a953c2d870185499faaabd06983526a83eb387.tar.gz
postgresql-f7a953c2d870185499faaabd06983526a83eb387.zip
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
Diffstat (limited to 'src/backend/utils/adt/formatting.c')
0 files changed, 0 insertions, 0 deletions