This is what the stacks look like btw

[2018-06-21 12:26:45.309 AWST] [7293] [] [] [:0] DEBUG:  00000:
find_in_dynamic_libpath: trying
"/home/craig/pg/10/lib/postgresql/pglogical.so"
[2018-06-21 12:26:45.309 AWST] [7293] [] [] [:0] LOCATION:
find_in_dynamic_libpath, dfmgr.c:639
[2018-06-21 12:26:45.309 AWST] [7293] [] [] [:0] STACK:
    FRAME    0: find_in_dynamic_libpath +628
    FRAME    1: expand_dynamic_library_name +205
    FRAME    2: load_external_function +38
    FRAME    3: LookupBackgroundWorkerFunction +197
    FRAME    4: StartBackgroundWorker +549
    FRAME    5: do_start_bgworker +466
    FRAME    6: maybe_start_bgworkers +382
    FRAME    7: reaper +895
    FRAME    8: funlockfile +80
    FRAME    9: __select +23
    FRAME   10: ServerLoop +394
    FRAME   11: PostmasterMain +4499

I wrote it because I got sick of Assert(false) debugging, and I was chasing
down some "ERROR:  08P01: insufficient data left in message" errors. Then I
got kind of caught up in it... you know how it is.

It also goes to show there are plenty of places you might want to get a
stack where you don't have an internal errcode or panic. I don't think that
idea will fly.

Reply via email to