Re: Dumping part (not all) of the data in a database...methods?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Dumping part (not all) of the data in a database...methods?
Дата
Msg-id 5031.1176324751@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Dumping part (not all) of the data in a database...methods?  (Andrew Edson <cheighlund@yahoo.com>)
Список pgsql-general
Andrew Edson <cheighlund@yahoo.com> writes:
> I am aware of this, yes, but the data in question is all (both sets) contained on a single table.  That's why I was
lookingfor a way to do a 'dump where (select foo where bar = 'criteria')' structure. 

pg_dump is not in the business of editorializing on your data.  However,
as of 8.2 there is COPY (SELECT ...) TO ... which might serve your
purpose.  If you're on an older release I think it's temporary table time.

            regards, tom lane

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

Предыдущее
От: Raymond O'Donnell
Дата:
Сообщение: SQL - finding next date
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Select taking excessively long; Request help streamlining.