aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-13 16:27:11 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-13 16:27:11 +0000
commit2a7349f030a4dca61f188b7a7f02a51c6877e621 (patch)
treea5d43845f73549fa483092131819f160326979df /src/backend/access/transam/xlogutils.c
parent95ef7cd40da69feff0ab1f2e4964949e6fb15383 (diff)
downloadpostgresql-2a7349f030a4dca61f188b7a7f02a51c6877e621.tar.gz
postgresql-2a7349f030a4dca61f188b7a7f02a51c6877e621.zip
Fix Assert failure in PushOverrideSearchPath when trying to restore a search
path that specifies useTemp, but there is no active temp schema in the current session. (This can happen if the path was saved during a transaction that created a temp schema and was later rolled back.) For existing callers it's sufficient to ignore the useTemp flag in this case, though we might later want to offer an option to create a fresh temp schema. So far as I can tell this is just an Assert failure: in a non-assert build, the code would push a zero onto the new search path, which is useless but not very harmful. Per bug report from Heikki. Back-patch to 8.3; prior versions don't have this code.
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions