Re: export from views

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: export from views
Дата
Msg-id 1C558A70-1799-46AB-A14B-38C95280CA8F@pgedit.com
обсуждение исходный текст
Ответ на export from views  ("Tomas Lanczos" <lanczos@t-zones.sk>)
Список pgsql-general
On Apr 13, 2006, at 10:58 AM, Tomas Lanczos wrote:

> I am quite a newbie in the database business, so sorry for stupid
> questions.
> Is there any convenient and simple method/tool to export data from
> views to
> file, something like COPY TO (file) from a table?


One option is to create a temp table and then use COPY on the temp
table. Something like

CREATE TEMP TABLE temp_table AS SELECT * from some_view;


It would be really nice if copy worked on views directly.




John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


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

Предыдущее
От: "Raphael Bauduin"
Дата:
Сообщение: ilike and utf-8
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: ilike and utf-8