Re: Patch (2): Implement failover on libpq connect level.

From: Thom Brown <thom(at)linux(dot)com>
To: Victor Wagner <vitus(at)wagner(dot)pp(dot)ru>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch (2): Implement failover on libpq connect level.
Date: 2015-10-26 16:37:53
Message-ID: CAA-aLv5yajihRcOSMR7it7MhOej7BAb+MthD0v053Q3TU4jc-Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

On 24 October 2015 at 07:32, Victor Wagner <vitus(at)wagner(dot)pp(dot)ru> wrote:
> В Fri, 23 Oct 2015 22:14:56 +0100
> Thom Brown <thom(at)linux(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2015-10-26 17:29:53 Re: Proposal: Trigonometric functions in degrees
Previous Message Tom Lane 2015-10-26 14:18:32 Re: Proposal: Trigonometric functions in degrees

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2015-10-26 18:27:01 Re: JDBC Version 1204 breaks OpenOffice/LibreOffice handling of database table views up to version 1203
Previous Message Stefan M 2015-10-26 16:21:07 JDBC Version 1204 breaks OpenOffice/LibreOffice handling of database table views up to version 1203