forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit57f1630
committed
Bring some order and sanity to error handling in the xml patch.
Use a TRY block instead of (inadequate) ad-hoc coding to ensure thatlibxml is cleaned up after a failure. Report the intended SQLCODEinstead of defaulting to XX000. Avoid risking use of a danglingpointer by keeping the persistent error buffer in TopMemoryContext.Be less trusting that error messages don't contain %.This patch doesn't do anything about changing the way the messagesare put together --- this is just about mechanism.1 parente9da20a commit57f1630
1 file changed
+227
-184
lines changed0 commit comments
Comments
(0)