Re: [ADMIN] postgres 9.0 crash when bringing up hot standby - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [ADMIN] postgres 9.0 crash when bringing up hot standby
Date
Msg-id 6819.1281650089@sss.pgh.pa.us
Whole thread Raw
In response to Re: [ADMIN] postgres 9.0 crash when bringing up hot standby  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [ADMIN] postgres 9.0 crash when bringing up hot standby
List pgsql-hackers
I wrote:
> 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.

Actually, that idea is easily tested: try doing
    LOAD 'libpqwalreceiver';
in a regular backend process.

If that still crashes, it might be useful to truss or strace the backend
while it runs the command, and compare that to the trace of
    LOAD 'dblink';

            regards, tom lane

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [ADMIN] postgres 9.0 crash when bringing up hot standby
Next
From: Robert Haas
Date:
Subject: Re: including backend ID in relpath of temp rels - updated patch