Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YuFPI-0005vy-NF for pgsql-committers@arkaria.postgresql.org; Mon, 18 May 2015 07:24:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YuFPI-0001Rp-89 for pgsql-committers@arkaria.postgresql.org; Mon, 18 May 2015 07:24:12 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YuFPH-0001Rj-HG for pgsql-committers@postgresql.org; Mon, 18 May 2015 07:24:11 +0000 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1YuFPF-0007w5-2q for pgsql-committers@postgresql.org; Mon, 18 May 2015 07:24:10 +0000 Received: by wgbgq6 with SMTP id gq6so2650351wgb.3 for ; Mon, 18 May 2015 00:24:06 -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=a340JV2xr9aL2l0wsIbUX1G735r/m9bBULPg4IhHtKg=; b=OBHQ7Zr00gZ3N/U9OWxQ/6weBsMjXWoIam9PPxwPAw8TpCHJ0uxdYb0E803AUmH+eh UFvB+aSCf/VJRJcAxN7oGnVEewmjjfQ9JKv1iZiGGRkCDA3e9AaFEb9bAdxO151ULWfi 0mujbT+eTowllNzSybwXjF+smy4rW+f7FGngfw4Q/tWbtrd8WZfbJDS0Vcx11O6u5no/ VG6R51E13G8cv7ClHbnW54ydC5tqFHfhekGV5G7BC3NvLwUFC8oYhxIx9CeFrioNQ/R1 S6vgzFLJ/970O9IjV1TwD6XS9patax1Ymy+oTEJRStSkTZJaMEizSIfIjroDehmwce/z QusA== X-Received: by 10.194.179.67 with SMTP id de3mr12959540wjc.77.1431933846496; Mon, 18 May 2015 00:24:06 -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 gt10sm10982081wib.20.2015.05.18.00.24.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 May 2015 00:24:05 -0700 (PDT) Message-ID: <55599391.4050804@iki.fi> Date: Mon, 18 May 2015 10:24:01 +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: Fujii Masao CC: pgsql-committers Subject: Re: pgsql: Add archive_mode='always' option. References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 05/18/2015 09:46 AM, Fujii Masao wrote: > On Sat, May 16, 2015 at 12:55 AM, Heikki Linnakangas > wrote: > - /* If we have lost the stats collector, try to start a new one */ > - if (PgStatPID == 0 && pmState == PM_RUN) > - PgStatPID = pgstat_start(); > > Seems the above code which should exist was removed accidentally. Good catch! > + be handled similarly, but the archive_command must test if the file > + being archived exists already, and if the existing file has identical > + contents. This requires more care in the archive_command, as it must > > Isn't it better to enclose archive_command with tags? Fixed, thanks. - Heikki -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers