Add support for detecting register-stack overrun on IA64.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/tcop/postgres.c | modified | +59 −0 |