pgsql: Prevent psql \copy from accepting multiple string parameters,

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent psql \copy from accepting multiple string parameters,
Date: 2008-03-11 23:30:56
Message-ID: 20080311233056.AEC2C753336@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Prevent psql \copy from accepting multiple string parameters, e.g.

test=> \copy billing_data from ../BillingSamplePricerFile.csv with csv
header quote as '"' null as 'abc' null as '123'
\copy: parse error at "null"

Per report from Stephen Frost

Modified Files:
--------------
pgsql/src/bin/psql:
copy.c (r1.77 -> r1.78)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/copy.c?r1=1.77&r2=1.78)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2008-03-12 01:03:04 pgsql: Add URL for: * Consider increasing NUM_CLOG_BUFFERS > >
Previous Message Bruce Momjian 2008-03-11 23:17:05 pgsql: Update TODO: o Allow COPY in CSV mode to control whether