bug in COPY

Поиск
Список
Период
Сортировка
От nconway@klamath.dyndns.org (Neil Conway)
Тема bug in COPY
Дата
Msg-id 20020724175939.GA15950@klamath.dyndns.org
обсуждение исходный текст
Ответы Re: bug in COPY  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
This behavior doesn't look right:

nconway=# create table foo (a int default 50, b int default 100);
CREATE TABLE
nconway=# copy foo from stdin;
Enter data to be copied followed by a newline.
End with a backslash and a period on a line by itself.
>> 
>> \.
nconway=# select * from foo;a | b 
---+---0 |  
(1 row)

(The first line of the COPY input is blank: i.e. just a newline)

The problem appears to be in both 7.2.1 and current CVS.

Cheers,

Neil

-- 
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Proposal: anonymous composite types for Table Functions (aka SRFs)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bug in COPY