Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 7E5A7650175; Wed, 30 Jul 2008 13:51:19 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 93121-10; Wed, 30 Jul 2008 13:51:15 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sca-es-mail-1.sun.com (sca-es-mail-1.Sun.COM [192.18.43.132]) by postgresql.org (Postfix) with ESMTP id 4895165012B; Wed, 30 Jul 2008 13:50:54 -0300 (ADT) Received: from fe-sfbay-10.sun.com ([192.18.43.129]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m6UGop0T024537; Wed, 30 Jul 2008 09:50:53 -0700 (PDT) Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K4T00B01W0WV400@fe-sfbay-10.sun.com> (original mail from Martin.Zaun@Sun.COM); Wed, 30 Jul 2008 09:50:51 -0700 (PDT) Received: from [192.168.0.5] ([64.9.233.253]) by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K4T00IOUW46RCC0@fe-sfbay-10.sun.com>; Wed, 30 Jul 2008 09:50:31 -0700 (PDT) Date: Wed, 30 Jul 2008 09:51:34 -0700 From: Martin Zaun Subject: Re: [PATCHES] odd output in restore mode In-reply-to: <488F28CB.8000201@enterprisedb.com> To: Heikki Linnakangas Cc: Andrew Dunstan , Greg Smith , Kevin Grittner , Simon Riggs , Bruce Momjian , Dave Page , PostgreSQL-development , List pgsql-patches Message-id: <48909C16.6070401@sun.com> Organization: Sun Microsystems, Inc. MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <200807011520.m61FKhZ20311@momjian.us> <48867904.9090001@sun.com> <1216810783.3894.602.camel@ebony.2ndQuadrant> <48877AC0.7070603@enterprisedb.com> <48873C7E.EE98.0025.0@wicourts.gov> <488DEE79.4010004@dunslane.net> <488F28CB.8000201@enterprisedb.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200807/1435 X-Sequence-Number: 121695 Heikki Linnakangas wrote: > Andrew Dunstan wrote: >> Greg Smith wrote: >>> On Wed, 23 Jul 2008, Kevin Grittner wrote: >>> >>> I've been working on an improved archive_command shell script that I >>> expect to submit for comments and potential inclusion in the >>> documentation as a better base for other people to build on. This is >>> one of the options for how it can operate. It would be painful but >>> not impossible to convert a subset of that script to run under >>> Windows as well, at least enough to cover this particular issue. >> >> A Perl script using the (standard) File::Copy module along with the >> builtin function rename() should be moderately portable. It would to >> be nice not to have to maintain two scripts. > > It's also not very nice to require a Perl installation on Windows, just > for a replacement of Copy. Would a simple .bat script work? With these avenues to be explored, can the pg_standby patch on the CommitFest wiki be moved to the "Returned with Feedback" section? Regards, Martin