Re: RC1? - Mailing list pgsql-hackers

From scott.marlowe
Subject Re: RC1?
Date
Msg-id Pine.LNX.4.33.0211130937320.31179-100000@css120.ihs.com
Whole thread Raw
In response to Re: RC1?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, 12 Nov 2002, Tom Lane wrote:

> "scott.marlowe" <scott.marlowe@ihs.com> writes:
> > Ok, now that I've run it that way, the last couple of pages of output 
> > look like this:
> 
> Hm.  So the "while read line" loop is iterating only once.
> 
> I was thinking to myself that something within the while loop must be
> eating up stdin, so that there's nothing left for the "while read" to
> read when control returns to the top of the loop.  This strengthens that
> theory.  Now, exactly what is reading stdin?
> 
> My suspicion falls on the very-recently-added awk calls.  Try changing
> 
>         (echo "SET autocommit TO 'on';"; awk 'BEGIN {printf "\\set ECHO all\n"}'; cat "$inputdir/sql/$1.sql") |
> 
> to
> 
>         (echo "SET autocommit TO 'on';"; awk 'BEGIN {printf "\\set ECHO all\n"}' </dev/null; cat
"$inputdir/sql/$1.sql")|
 
> 
> (there are two places to do this)

OK, that gets it to run all tests, but now virtually all of them fail...





pgsql-hackers by date:

Previous
From: cbbrowne@cbbrowne.com
Date:
Subject: Re: RC1?
Next
From: Tom Lane
Date:
Subject: Re: RC1?