git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f946069) | patch
Recompute stack base in forked postmaster children.
Mon, 6 Apr 2020 01:23:30 +0000 (18:23 -0700)
Mon, 6 Apr 2020 01:23:30 +0000 (18:23 -0700)
commit fc3f4453a2bc95549682e23600b22e658cb2d6d7
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
src/backend/postmaster/postmaster.c diff | blob | blame | history
src/backend/utils/init/miscinit.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /