see that errno == EINTR when it happens. This is as much as I can figure
out in C, so I'm leaving it at that. Your advice about debugging the
backend process ("select pg_backend_pid()") instead of running in a
single-user mode worked for me, thank you!
On Tue, Jan 4, 2022 at 1:02 AM
10:08 PM Tom Lane wrote:
> Tomas Vondra writes:
> > On 1/3/22 16:54, Stanislav Bashkyrtsev wrote:
> >> - If I put a breakpoint before I start the process then everything
> works
> >> fine
> >> - But if I put/remove a breakpoint after it's fully initiali
I tried debugging PostgreSQL to better understand how it works. It worked
fine a day ago, but for some reason I have issues with debugging now:
- If I put a breakpoint before I start the process then everything works
fine
- But if I put/remove a breakpoint after it's fully initialized - the
proces