Re: regression failure - horology

From: "Jeroen T(dot) Vermeulen" <jtv(at)xs4all(dot)nl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Joe Conway <mail(at)joeconway(dot)com>, "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: regression failure - horology
Date: 2003-02-22 15:34:11
Message-ID: 20030222153410.GD65954@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Feb 22, 2003 at 03:09:13AM -0500, Tom Lane wrote:
>
> Mph. It fails for me too when I use --enable-integer-datetimes. Looks
> like that patch still needs some work...

Yeah. I'm really, really, *really* sorry for submitting it in the state
it was in. I shouldn't have done that just before moving to another
country. I found the problem last night, but couldn't get to a Net
connection until now.

The problem is in src/bin/psql/common.c, around line 250-335 somewhere
depending on the version. The 2nd and 3rd clauses of the "while" loop
condition:

(rstatus == PGRES_COPY_IN) &&
(rstatus == PGRES_COPY_OUT))

should of course be:

(rstatus != PGRES_COPY_IN) &&
(rstatus != PGRES_COPY_OUT))

Jeroen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message mlw 2003-02-22 15:56:00 Re: ILIKE
Previous Message Tom Lane 2003-02-22 08:40:21 Re: regression failure - horology