[BUG] COPY ... FROM STDIN hangs where supplied with too many more fields
[BUG] COPY ... FROM STDIN hangs where supplied with too many more fields
От:
Jean-Luc Lachance <jllachan@nsd.ca>
Дата:
psql -c "COPY table FROM STDIN DELIMITERS ':'" < data.txt hangs without warning when supplied with more field than the actual table. JLL
Re: [BUG] COPY ... FROM STDIN hangs where supplied with too many more fields
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Jean-Luc Lachance writes: > psql -c "COPY table FROM STDIN DELIMITERS ':'" < data.txt > hangs without warning when supplied with more field than the actual > table. Oh? $ psql regression ... regression=# create table tab (f1 int,f2 int); CREATE regression=# \q $ cat data.txt 1:2:3 4:5:6 $ psql -c "COPY tab FROM STDIN DELIMITERS ':'" regression