Thread: pgsql: Add support for detecting register-stack overrun on IA64.

pgsql: Add support for detecting register-stack overrun on IA64.

From
Tom Lane
Date:
Add support for detecting register-stack overrun on IA64.

Per recent investigation, the register stack can grow faster than the
regular stack depending on compiler and choice of options.  To avoid
crashes we must check both stacks in check_stack_depth().

Back-patch to all supported versions.

Branch
------
REL8_1_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=17b38fae86f07355efa5d7dcaef345c60c88f69a

Modified Files
--------------
src/backend/tcop/postgres.c |   59 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 59 insertions(+), 0 deletions(-)