Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YidDR-0008RW-59 for pgsql-committers@arkaria.postgresql.org; Thu, 16 Apr 2015 06:23:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YidDQ-0005bm-LH for pgsql-committers@arkaria.postgresql.org; Thu, 16 Apr 2015 06:23:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YidDQ-0005bf-3J for pgsql-committers@postgresql.org; Thu, 16 Apr 2015 06:23:56 +0000 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YidDM-0003Pp-2z for pgsql-committers@postgresql.org; Thu, 16 Apr 2015 06:23:55 +0000 Received: by wgyo15 with SMTP id o15so69503787wgy.2 for ; Wed, 15 Apr 2015 23:23:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=JWtM2yuqM22kLKmDGJ2DEIQJ6xpR40lk8XkK+vg3Jzc=; b=H3Umjxw2IDwGMZgg/yNthRv0yVRqtQ5tiAhte4FCaLqjLf5XNUeSpjbkAqRLTOWh/K tYz4UMAh9/vtNXw3vR+TcU8vdKIo5OoE0vtGTU9Dq1BiU5dx4obAhmoOGsUXSDb5RH61 YsZWG8JUCKBCSzfkd+Qm+xTxdHMH/+oYVFpcRfiy+Bv9LXwO8lW7yEwB8PYx+eOk3PeV YHAB9CW93AxK6KZbhvWLp+/DAj6QvvoreK+wxDvHs8p2hDAn1ptbIN66apPU096XMcJH gntcoReBOQ05PiDe5CGAlU87IWyDvqIMR6uGbQhOvFrga22l6RW55MZGoBsbNycpPKG0 EPEQ== X-Received: by 10.181.25.225 with SMTP id it1mr2130073wid.8.1429165430922; Wed, 15 Apr 2015 23:23:50 -0700 (PDT) Received: from [192.168.1.99] (dsl-hkibrasgw1-58c38f-82.dhcp.inet.fi. [88.195.143.82]) by mx.google.com with ESMTPSA id b1sm8890533wjs.17.2015.04.15.23.23.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Apr 2015 23:23:49 -0700 (PDT) Message-ID: <552F5574.4030701@iki.fi> Date: Thu, 16 Apr 2015 09:23:48 +0300 From: Heikki Linnakangas Reply-To: hlinnaka@iki.fi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 MIME-Version: 1.0 To: Michael Paquier CC: pgsql-committers@postgresql.org Subject: Re: pgsql: Error out in pg_rewind if lstat() fails. References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.3 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 04/16/2015 04:17 AM, Michael Paquier wrote: > On Thu, Apr 16, 2015 at 5:15 AM, Heikki Linnakangas > wrote: >> Error out in pg_rewind if lstat() fails. >> >> A "file not found" is expected if the source server is running, so don't >> complain about that. But any other error is definitely not expected. > > Nitpicking: strings of pg_fatal need to have a newline '\n' for readability. Ah, good catch! Fixed. - Heikki -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers