Fix problems with coredumps due to ^C when longjmp buffer isn't valid.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a062473696aa6e0944951b719c8e8a45eb8f526e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-03-23T00:36:38Z
Releases: 7.1.1
Fix problems with coredumps due to ^C when longjmp buffer isn't valid.
Now, we will only catch ^C at times when it is valid.

Files

PathChange+/−
src/bin/psql/mainloop.c modified +15 −2
src/bin/psql/startup.c modified +1 −5