pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
To: Alanoly Andrews <alanolya@invera.com>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [HACKERS] postgres 9.0 crash when bringing up hot standby
Date: Thu, 12 Aug 2010 17:54:49 -0400
Message-ID: <6819.1281650089@sss.pgh.pa.us> (raw)
In-Reply-To: <6546.1281649220@sss.pgh.pa.us>
References: <09B23E7BF70425478C1330D893A722C602FEC019BD@MailSVR.invera.com>
	<AANLkTinbaJ3mZ+W5HiYAc+C5ez-pOUFUt+_ajeSsbG26@mail.gmail.com>
	<4C5C6853.40301@enterprisedb.com>
	<AANLkTin9XNVKDGdqDFN8dqaczjey-5NPD44em3N87CVP@mail.gmail.com>
	<09B23E7BF70425478C1330D893A722C602FEC019C6@MailSVR.invera.com>
	<AANLkTikLeGZ3gXrfhzL1x_ysaXko8yPanuOW4cs5rjf5@mail.gmail.com>
	<AANLkTimEHhWGa1JN6FBtY+pzXKSKzKb-MuaXgsDuPW96@mail.gmail.com>
	<6546.1281649220@sss.pgh.pa.us>

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



view thread (11+ messages)  latest in thread

Message-ID: <6819.1281650089@sss.pgh.pa.us>
Permalink:  ../6819.1281650089@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6819.1281650089@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, alanolya@invera.com, heikki.linnakangas@enterprisedb.com, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] postgres 9.0 crash when bringing up hot standby
  In-Reply-To: <6819.1281650089@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox