• Tom Lane's avatar
    Add support for detecting register-stack overrun on IA64. · d7a2ce49
    Tom Lane authored
    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().
    
    Since this is poorly-tested code, committing only to HEAD for the
    moment ... but we might want to consider back-patching later.
    d7a2ce49
postgres.c 112 KB