aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2022-02-02 13:50:33 -0500
committerRobert Haas <rhaas@postgresql.org>2022-02-02 13:50:33 -0500
commit8e2b6d45a033287da7c8f63062129ea02d86d831 (patch)
tree5646b26b11d68619f3b494a3b15b8177c53bd349 /src/backend/parser/parse_utilcmd.c
parent87669de72c2249e6aec84b8c27fdc3ffb7284e13 (diff)
downloadpostgresql-8e2b6d45a033287da7c8f63062129ea02d86d831.tar.gz
postgresql-8e2b6d45a033287da7c8f63062129ea02d86d831.zip
Fix server crash bug in 'server' backup target.
When this code executed as superuser it appeared to work because no system catalog lookups happened, but otherwise it crashes because there is no transaction environment. Fix that. Report and code change by me. Test case by Dagfinn Ilmari Mannsåker. Discussion: http://postgr.es/m/CA+TgmobiKLXne-2AVzYyWRiO8=rChBQ=7ywoxp=2SmcFw=oDDw@mail.gmail.com
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions