Re: archive_command - Mailing list pgsql-admin

From Jeff Frost
Subject Re: archive_command
Date
Msg-id Pine.LNX.4.63.0510052022270.14401@discord.dyndns.org
Whole thread Raw
In response to Re: archive_command  (Gaetano Mendola <mendola@bigfoot.com>)
List pgsql-admin
On Tue, 4 Oct 2005, Gaetano Mendola wrote:

Looks like we're doing just about the same thing, but you're using head and
I'm using tail.  However, it seems that your method does not require grepping
out the special files, so that's awesome!

BTW you do not have to use the -1 flag when you put ls to a pipe.

-Jeff

>    FILE=$( ls -t1p $PGXLOG | grep -v / | head -1 )

--
Jeff Frost, Owner     <jeff@frostconsultingllc.com>
Frost Consulting, LLC     http://www.frostconsultingllc.com/
Phone: 650-780-7908    FAX: 650-649-1954

pgsql-admin by date:

Previous
From: David Durham
Date:
Subject: create table like syntax
Next
From: Alvaro Herrera
Date:
Subject: Re: create table like syntax