diff options
author | Andres Freund <andres@anarazel.de> | 2020-04-05 18:23:30 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2020-04-05 18:23:30 -0700 |
commit | fc3f4453a2bc95549682e23600b22e658cb2d6d7 (patch) | |
tree | 18772ad598c4447815a1ece9594d1d248d2c5f2a /contrib/postgres_fdw/postgres_fdw.c | |
parent | f946069e6827e729857b9f2db06bf27a1c0563ee (diff) | |
download | postgresql-fc3f4453a2bc95549682e23600b22e658cb2d6d7.tar.gz postgresql-fc3f4453a2bc95549682e23600b22e658cb2d6d7.zip |
Recompute stack base in forked postmaster children.
This is for the benefit of running postgres under the rr
debugger. When using rr signal handlers running while a syscall is
active use an alternative stack. As e.g. bgworkers are started from
within signal handlers, the forked backend then has a different stack
base than postmaster. Previously that subsequently lead to those
processes triggering spurious "stack depth limit exceeded" errors.
Discussion: https://postgr.es/m/20200327182217.ubrrl32lyfhxfwk5@alap3.anarazel.de
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions