Robert Haas <robertmhaas@gmail.com> writes:
> Per off-list discussion with Alanoly, we've determined the following:
> dblink was compiled with the same flags as libpqwalreciever
> dblink works
> libpqwalreceiver crashes
I wonder if the problem is not so much libpqwalreceiver as the
walreceiver process. Maybe an ordinary backend process does some
prerequisite initialization that walreceiver is missing. Hard to
guess what, though ... I can't think of anything dlopen() depends on
that should be under our control.
regards, tom lane