Index: src/bin/psql/common.c =================================================================== RCS file: /cvsroot/pgsql-server/src/bin/psql/common.c,v retrieving revision 1.57 diff -c -c -r1.57 common.c *** src/bin/psql/common.c 18 Mar 2003 22:15:44 -0000 1.57 --- src/bin/psql/common.c 20 Mar 2003 04:44:04 -0000 *************** *** 252,259 **** } PQclear(res); res = newres; ! if (rstatus == PGRES_COPY_IN || ! rstatus == PGRES_COPY_OUT) break; } } --- 252,259 ---- } PQclear(res); res = newres; ! if (rstatus != PGRES_COPY_IN && ! rstatus != PGRES_COPY_OUT) break; } }