]> granicus.if.org Git - postgresql/commit
When an ERROR happens on a dblink remote connection, take
authorJoe Conway <mail@joeconway.com>
Thu, 3 Jul 2008 03:56:57 +0000 (03:56 +0000)
committerJoe Conway <mail@joeconway.com>
Thu, 3 Jul 2008 03:56:57 +0000 (03:56 +0000)
commitc0241b9573b606afd6c829c1f43be6fcdafbe36d
treee491945271a8958030b86d39219883c2838a576e
parent0a8f6b797ae794e8c0035dd6159318fe0261faf1
When an ERROR happens on a dblink remote connection, take
pains to pass the ERROR message components locally, including
using the passed SQLSTATE. Also wrap the passed info in an
appropriate CONTEXT message. Addresses complaint by Henry
Combrinck. Joe Conway, with much good advice from Tom Lane.
contrib/dblink/dblink.c
contrib/dblink/expected/dblink.out