Re: BUG #5048: psql: \g doesn't redirect COPY TO STDOUT, but redirects next query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5048: psql: \g doesn't redirect COPY TO STDOUT, but redirects next query
Дата
Msg-id 23179.1252592172@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #5048: psql: \g doesn't redirect COPY TO STDOUT, but redirects next query  ("Andrew Deryabin" <andrew@deryabin.com>)
Список pgsql-bugs
"Andrew Deryabin" <andrew@deryabin.com> writes:
> [pgsql@localhost:site]=# COPY (SELECT 1) TO STDOUT \g filename.ext

The way you're supposed to do that is with \copy.
It might be more consistent to do it as above, but I'm not sure
anyone will take the time to make it happen ...

            regards, tom lane

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

Предыдущее
От: "Andrew Deryabin"
Дата:
Сообщение: BUG #5048: psql: \g doesn't redirect COPY TO STDOUT, but redirects next query
Следующее
От: "mahmoud badr"
Дата:
Сообщение: BUG #5046: java developer