Re: Patch (2): Implement failover on libpq connect level. - Mailing list pgsql-hackers

From Victor Wagner
Subject Re: Patch (2): Implement failover on libpq connect level.
Date
Msg-id 20151024093241.4f3ecea5@wagner.wagner.home
Whole thread Raw
In response to Re: Patch (2): Implement failover on libpq connect level.  (Thom Brown <thom@linux.com>)
Responses Re: Patch (2): Implement failover on libpq connect level.  (Thom Brown <thom@linux.com>)
List 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>



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Re: [BUGS] BUG #13611: test_postmaster_connection failed (Windows, listen_addresses = '0.0.0.0' or '::')
Next
From: Victor Wagner
Date:
Subject: Re: Patch (2): Implement failover on libpq connect level.