Re: Strange issues with 9.2 pg_basebackup & replication

Ants Aasma <ants@cybertec.at>

From: Ants Aasma <ants@cybertec.at>
To: Joshua Berkus <josh@agliodbs.com>
Cc: Jim Nasby <jim@nasby.net>, PostgreSQL-development <pgsql-hackers@postgresql.org>, Fujii Masao <masao.fujii@gmail.com>
Date: 2012-05-17T13:42:20Z
Lists: pgsql-hackers

Attachments

On Thu, May 17, 2012 at 3:42 PM, Joshua Berkus <josh@agliodbs.com> wrote:
> Even more fun:
>
> 1) Set up a server as a cascading replica (e.g. max_wal_senders = 3, standby_mode = on )
>
> 2) Connect the server to *itself* as a replica.
>
> 3) This will work and report success, up until you do your first write.
>
> 4) Then ... segfault!

I cannot reproduce this. Attached is the script that I use for cascade
replication testing. With it I can see the replica connecting to
itself but no segfault.

Ants Aasma
-- 
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de