pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Victor Wagner <vitus@wagner.pp.ru>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Thom Brown <thom@linux.com>
Subject: Re: Patch (2): Implement failover on libpq connect level.
Date: Sat, 24 Oct 2015 09:32:41 +0300
Message-ID: <20151024093241.4f3ecea5@wagner.wagner.home> (raw)
In-Reply-To: <CAA-aLv5-uPNejEvFNjAbRPy+4FVSM4Xc=wwqNFr2RfAWm08LJw@mail.gmail.com>
References: <20150818041850.GA5092@wagner.pp.ru>
	<20151014104151.GA6744@wagner.pp.ru>
	<20151021090722.GA7825@wagner.pp.ru>
	<CAA-aLv4PrtvjQ3B0ecj=aUhYDYh8CCvpaKM=Fj3BVLLfx+4mjQ@mail.gmail.com>
	<20151023145233.2a110244@fafnir>
	<CAA-aLv5-uPNejEvFNjAbRPy+4FVSM4Xc=wwqNFr2RfAWm08LJw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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>


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (10+ messages)  latest in thread

Message-ID: <20151024093241.4f3ecea5@wagner.wagner.home>
Permalink:  ../20151024093241.4f3ecea5@wagner.wagner.home/
Also on:    postgresql.org/message-id/20151024093241.4f3ecea5@wagner.wagner.home

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: vitus@wagner.pp.ru, pgsql-hackers@postgresql.org, thom@linux.com
  Subject: Re: Patch (2): Implement failover on libpq connect level.
  In-Reply-To: <20151024093241.4f3ecea5@wagner.wagner.home>
  References: <20150818041850.GA5092@wagner.pp.ru> <20151014104151.GA6744@wagner.pp.ru> <20151021090722.GA7825@wagner.pp.ru> <CAA-aLv4PrtvjQ3B0ecj=aUhYDYh8CCvpaKM=Fj3BVLLfx+4mjQ@mail.gmail.com> <20151023145233.2a110244@fafnir> <CAA-aLv5-uPNejEvFNjAbRPy+4FVSM4Xc=wwqNFr2RfAWm08LJw@mail.gmail.com> <20151024093241.4f3ecea5@wagner.wagner.home>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox