Skip site navigation (1) Skip section navigation (2)

pgsql-server/src/bin/psql common.c

From: momjian(at)postgresql(dot)org (Bruce Momjian - CVS)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/bin/psql common.c
Date: 2003-03-20 04:49:18
Message-ID: 20030320044918.63060475E4D@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	momjian(at)postgresql(dot)org	03/03/19 23:49:18

Modified files:
	src/bin/psql   : common.c 

Log message:
	> 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 T. Vermeulen


pgsql-committers by date

Next:From: Bruce Momjian - CVSDate: 2003-03-20 04:51:45
Subject: pgsql-server/ oc/src/sgml/runtime.sgml rc/back ...
Previous:From: Bruce Momjian - CVSDate: 2003-03-20 04:41:13
Subject: pgsql-server/doc/src/sgml/ref create_function.sgml

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group