Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Frost2013-08-01 05:07:20 +0000
committerStephen Frost2013-08-01 05:07:20 +0000
commitddef1a39c6798ffae899acd08ff92329dd304085 (patch)
tree9a83029259e527fa3f6b978f112b1782ea2b600d /src/tutorial/advanced.source
parenta59516b6311a6c2acc89448c94913ebae598f02a (diff)
Allow a context to be passed in for error handling
As pointed out by Tom Lane, we can allow other users of the error handler callbacks to provide their own memory context by adding the context to use to ErrorData and using that instead of explicitly using ErrorContext. This then allows GetErrorContextStack() to be called from inside exception handlers, so modify plpgsql to take advantage of that and add an associated regression test for it.
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions