Re: [HACKERS] Interval month, week -> day - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] Interval month, week -> day
Date
Msg-id 23200.1157378292@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Interval month, week -> day  (Michael Meskes <meskes@postgresql.org>)
Responses Re: [HACKERS] Interval month, week -> day
List pgsql-patches
Michael Meskes <meskes@postgresql.org> writes:
> On Sun, Sep 03, 2006 at 10:21:11PM -0400, Bruce Momjian wrote:
>> When I tried the ecpg regression tests it complained there was no
>> results/ directory.  I created one and it worked.

> Hmm, anyone else experiencing this? The pg_regress.sh has this code that
> should create it:

> outputdir="results/"

> if [ ! -d "$outputdir" ]; then
>     mkdir -p "$outputdir" || { (exit 2); exit; }
> fi

I'll bet you should lose the slash in $outputdir.  test(1) might or
might not be "friendly" about stripping that off.

            regards, tom lane

pgsql-patches by date:

Previous
From: Michael Meskes
Date:
Subject: Re: [HACKERS] Interval month, week -> day
Next
From: Michael Glaesemann
Date:
Subject: Fix PGPORT reassignment in ecpg regression tests