Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpsPF-000695-1X for pgsql-hackers@arkaria.postgresql.org; Sat, 24 Oct 2015 06:34:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZpsPE-0007pC-0o for pgsql-hackers@arkaria.postgresql.org; Sat, 24 Oct 2015 06:34:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZpsNu-0006Jb-IX for pgsql-hackers@postgresql.org; Sat, 24 Oct 2015 06:32:58 +0000 Received: from wagner.pp.ru ([178.63.209.18] helo=mx.wagner.pp.ru) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZpsNm-0007IQ-8u for pgsql-hackers@postgresql.org; Sat, 24 Oct 2015 06:32:57 +0000 Received: from mail.wagner.pp.ru (unknown [192.168.217.132]) by mx.wagner.pp.ru (Postfix) with ESMTP id 66D3B486162; Sat, 24 Oct 2015 09:32:44 +0300 (MSK) Received: from wagner.wagner.home (wifi [192.168.217.63]) by mail.wagner.pp.ru (Postfix) with ESMTPSA id 9106720024; Sat, 24 Oct 2015 09:32:42 +0300 (MSK) Date: Sat, 24 Oct 2015 09:32:41 +0300 From: Victor Wagner To: PostgreSQL-development Cc: Thom Brown Subject: Re: Patch (2): Implement failover on libpq connect level. Message-ID: <20151024093241.4f3ecea5@wagner.wagner.home> In-Reply-To: References: <20150818041850.GA5092@wagner.pp.ru> <20151014104151.GA6744@wagner.pp.ru> <20151021090722.GA7825@wagner.pp.ru> <20151023145233.2a110244@fafnir> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; i586-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org =D0=92 Fri, 23 Oct 2015 22:14:56 +0100 Thom Brown =D0=BF=D0=B8=D1=88=D0=B5=D1=82: c> > > > pg_basebackup -v -x -D standby1 \ > > -d "host=3Dlocalhost port=3D5532 user=3Drep_user readonly=3D1" >=20 > Yes, this works: >=20 > $ pg_basebackup -v -x -D standby1 -d "host=3Dlocalhost port=3D5532 > user=3Drep_user readonly=3D1" > transaction log start point: 0/2000028 on timeline 1 > transaction log end point: 0/2000130 > pg_basebackup: base backup completed >=20 > 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. --=20 Victor Wagner --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers