Re: PG_DUMP

Поиск
Список
Период
Сортировка
От Jeff Boes
Тема Re: PG_DUMP
Дата
Msg-id 44770674.2010800@endpoint.com
обсуждение исходный текст
Ответ на PG_DUMP  ("renneyt@yahoo.com" <renneyt@yahoo.com>)
Список pgsql-admin
renneyt@yahoo.com wrote:
> Is there a way to do a selective pg_dump of a table using a select
> where clause? As in ... dump all records where now-col_date < 2 or
> col_date='01-may-2006' etc.. ?
You can transfer the subset of data to another table, e.g.,

create table my_dump as select * from table_foo where ...

and then dump that table. Note that you can't do this to a view (pg_dump
will dump the view definition, but not the data).

--
Jeffery Boes  <><
jeff@endpoint.com


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_clog questions
Следующее
От: jerome
Дата:
Сообщение: \i running on windows