aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
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:31:04 -0500
commit0d7d71b64d70b2db51f6339d6fb86fc4e01f7335 (patch)
treec27f04662845a91c9fdd4521bc5433b863ef4449 /src/tutorial/advanced.source
parentb25155021014bfce9627229c8fa5a5f3eeac6ead (diff)
downloadpostgresql-0d7d71b64d70b2db51f6339d6fb86fc4e01f7335.tar.gz
postgresql-0d7d71b64d70b2db51f6339d6fb86fc4e01f7335.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/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions