Copy question

Поиск
Список
Период
Сортировка
От Judith Altamirano
Тема Copy question
Дата
Msg-id 49594F03.4080809@correolux.com.mx
обсуждение исходный текст
Ответы Re: Copy question  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-sql
Hello every body I'm trying to extract a query as follows:

copy (select * from clientes where id_cliente = 7895) to 
'/home/paso/sel.copy';

But it returns the next error:

ERROR:  error de sintaxis en o cerca de «(» at character 6
LINE 1: copy (select * from clientes where id_cliente = 7895) to '/h...


I was reading the manual and I think the sintaxis is correct, any idea 
wich is the cause of the error?


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Object create date
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Copy question