aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-02-08 13:30:42 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2019-02-08 13:30:42 -0500
commit0edef16d76beb8286cc832e4e1daf1f16b3d8f4a (patch)
tree5825f2933f87a705ebba97b17191c15c2e50dfdd /src/backend/executor
parentf10a20e14714d2b06b84a260a2bf6cef55f46801 (diff)
downloadpostgresql-0edef16d76beb8286cc832e4e1daf1f16b3d8f4a.tar.gz
postgresql-0edef16d76beb8286cc832e4e1daf1f16b3d8f4a.zip
Defend against null error message reported by libxml2.
While this isn't really supposed to happen, it can occur in OOM situations and perhaps others. Instead of crashing, substitute "(no message provided)". I didn't worry about localizing this text, since we aren't localizing anything else here; besides, if we're on the edge of OOM, it's unlikely gettext() would work. Report and fix by Sergio Conde Gómez in bug #15624. Discussion: https://postgr.es/m/15624-4dea54091a2864e6@postgresql.org
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions