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

From: Victor Wagner <vitus(at)wagner(dot)pp(dot)ru>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Cc: Thom Brown <thom(at)linux(dot)com>
Subject: Re: Patch (2): Implement failover on libpq connect level.
Date: 2015-10-24 06:32:41
Message-ID: 20151024093241.4f3ecea5@wagner.wagner.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

В 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.

--
Victor Wagner <vitus(at)wagner(dot)pp(dot)ru>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Victor Wagner 2015-10-24 06:38:12 Re: Patch (2): Implement failover on libpq connect level.
Previous Message Peter Eisentraut 2015-10-24 06:04:39 Re: Re: [BUGS] BUG #13611: test_postmaster_connection failed (Windows, listen_addresses = '0.0.0.0' or '::')

Browse pgsql-jdbc by date

  From Date Subject
Next Message Victor Wagner 2015-10-24 06:38:12 Re: Patch (2): Implement failover on libpq connect level.
Previous Message Tatsuo Ishii 2015-10-24 02:35:24 Re: [HACKERS] JDBC driver debug out?