postgresql/src/test
Stephen Frost 9bd0feeba8 Improvements to GetErrorContextStack()
As GetErrorContextStack() borrowed setup and tear-down code from other
places, it was less than clear that it must only be called as a
top-level entry point into the error system and can't be called by an
exception handler (unlike the rest of the error system, which is set up
to be reentrant-safe).

Being called from an exception handler is outside the charter of
GetErrorContextStack(), so add a bit more protection against it,
improve the comments addressing why we have to set up an errordata
stack for this function at all, and add a few more regression tests.

Lack of clarity pointed out by Tom Lane; all bugs are mine.
2013-07-25 09:41:55 -04:00
..
examples Update copyrights for 2013 2013-01-01 17:15:01 -05:00
isolation pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
locale Run newly-configured perltidy script on Perl files. 2012-07-04 21:47:49 -04:00
mb Lots of doc corrections. 2012-04-23 22:43:09 -04:00
performance Run newly-configured perltidy script on Perl files. 2012-07-04 21:47:49 -04:00
regress Improvements to GetErrorContextStack() 2013-07-25 09:41:55 -04:00
thread Update copyrights for 2013 2013-01-01 17:15:01 -05:00
Makefile Add isolation test to check-world and installcheck-world 2012-03-05 20:19:20 +02:00