Re: [SPAM] Restore single table from pg_dumpall.

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: [SPAM] Restore single table from pg_dumpall.
Дата
Msg-id 4421BD50-D064-413C-A043-EDB985D212ED@decibel.org
обсуждение исходный текст
Ответ на Re: [SPAM] Restore single table from pg_dumpall.  ("Duncan Garland" <duncan.garland@ntlworld.com>)
Список pgsql-novice
On Jan 23, 2007, at 5:13 AM, Duncan Garland wrote:
> If the dump is in plain text then you need to strip out the surplus
> data and feed the rest to psql. If the file is too big for vi, try
> a stream editor such as sed or a simple perl script.

I find that using less to get line numbers and then using a
combination of head and tail works well. Almost guaranteed to be a
whole lot faster than loading a large file into vi.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



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

Предыдущее
От: Oisin Glynn
Дата:
Сообщение: Re: Windows 2K Installation difficulties...
Следующее
От: Luca Ferrari
Дата:
Сообщение: pgsql & transaction doubt