Re: RC1?

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: RC1?
Date: 2002-11-13 16:38:13
Message-ID: Pine.LNX.4.33.0211130937320.31179-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

On Tue, 12 Nov 2002, Tom Lane wrote:

> "scott.marlowe" <scott(dot)marlowe(at)ihs(dot)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...

In response to

  • Re: RC1? at 2002-11-13 00:04:29 from Tom Lane

Browse pgsql-hackers by date

  From Date Subject
Next Message cbbrowne 2002-11-13 16:42:01 Re: RC1?
Previous Message Tom Lane 2002-11-13 16:28:02 Re: RC1?

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 2002-11-13 16:58:04 Re: RC1?
Previous Message Nigel J. Andrews 2002-11-13 12:28:59 Re: RC1?