Re: Patch (2): Implement failover on libpq connect level.
Thom Brown <thom@linux.com>
From: Thom Brown <thom@linux.com>
To: Victor Wagner <vitus@wagner.pp.ru>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2015-10-26T16:37:53Z
Lists: pgsql-hackers
On 24 October 2015 at 07:32, Victor Wagner <vitus@wagner.pp.ru> wrote: > В Fri, 23 Oct 2015 22:14:56 +0100 > Thom Brown <thom@linux.com> пишет: > > c> > >> > pg_basebackup -v -x -D standby1 \ >> > -d "host=localhost port=5532 user=rep_user readonly=1" >> >> Yes, this works: >> >> $ pg_basebackup -v -x -D standby1 -d "host=localhost port=5532 >> user=rep_user readonly=1" >> transaction log start point: 0/2000028 on timeline 1 >> transaction log end point: 0/2000130 >> pg_basebackup: base backup completed >> >> Thom > > Thanks for your help. > > I was unable to reproduce segfault with this situation on Linux x86-64.. > > I got message: > > row number 0 is out of range 0..-1 > > and connection failed. Can you tell me a bit more of your setup. > At least which architecture you are compiling Postgres for. Linux 64-bit, 3.11 kernel. Thom
Commits
-
libpq: Add target_session_attrs parameter.
- 721f7bd3cbcc 10.0 landed
-
Remove superuser checks in pgstattuple
- fd321a1dfd64 10.0 cited
-
Fix unwanted flushing of libpq's input buffer when socket EOF is seen.
- c405918858c0 9.6.0 cited