Re: COPY is not working

Поиск
Список
Период
Сортировка
От Takahiro Itagaki
Тема Re: COPY is not working
Дата
Msg-id 20100430145652.94D7.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответ на COPY is not working  (Jaime Casanova <jcasanov@systemguards.com.ec>)
Ответы Re: COPY is not working
Список pgsql-hackers
Jaime Casanova <jcasanov@systemguards.com.ec> wrote:

> COPY is not working on latest HEAD?
> """
> regression=# select * from a;
>  aa
> ----
>  32
>  56
> (2 rows)
> 
> regression=# COPY a TO '/tmp/copy_test';
> COPY 0
> """
> 
> -- 

Please send the actual test pattern and your environment information
to reproduce the misbehavior. It works fine on my machine.

regression=# CREATE TABLE a (aa integer);
CREATE TABLE
regression=# INSERT INTO a VALUES(32), (56);
INSERT 0 2
regression=# select * from a;aa
----3256
(2 rows)

regression=# COPY a TO '/tmp/copy_test';
COPY 2
regression=# \! cat /tmp/copy_test
32
56

$ uname -a
Linux xxx 2.6.29.4-167.fc11.x86_64 #1 SMP Wed May 27 17:27:08 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
$ postgres --version
postgres (PostgreSQL) 9.0beta1

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center




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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: COPY is not working
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: COPY is not working