Re: Patch (2): Implement failover on libpq connect level.
Victor Wagner <vitus@wagner.pp.ru>
From: Victor Wagner <vitus@wagner.pp.ru>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Thom Brown <thom@linux.com>
Date: 2015-10-24T06:32:41Z
Lists: pgsql-hackers
В 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.
--
Victor Wagner <vitus@wagner.pp.ru>
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