Muiltiple commands to psql yeilds a bad COPY

From: "Bryan White" <bryan(at)arcamax(dot)com>
To: <pgsql-general(at)postgreSQL(dot)org>
Subject: Muiltiple commands to psql yeilds a bad COPY
Date: 1998-11-05 20:25:50
Message-ID: 006201be08fa$7af86d20$a3f0f6ce@bryan.arcamax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I think I found a bug in psql or the backend.

If from a shell script I execute:
psql -c"delete from action; copy action from stdin using delimiters '|';"
< action.out
then the first field of the first row gets a 'Q' insdead of the 'D' that is
in the input file.
The rest of the table seams to be correct.

If I break the statement abort as in:
psql -c"delete from action;"
psql -c"copy action from stdin using delimiters '|';" < action.out
then it works as I expect.

This is 6.3.2. It is just a minor annoyance to me but someone might want to
see if it is a problem in 6.4.

Bryan White
ArcaMax Inc.
Yorktown VA
www.arcamax.com

Browse pgsql-general by date

  From Date Subject
Next Message Chris Williams 1998-11-05 21:28:00 Re: [GENERAL] Upcoming 6.4 release issues - WinNT
Previous Message Jackson, DeJuan 1998-11-05 19:26:48 RE: [GENERAL] Epoch Time, conversion?