Re: pg_restore --no-post-data and --post-data-only

Поиск
Список
Период
Сортировка
От Matteo Beccati
Тема Re: pg_restore --no-post-data and --post-data-only
Дата
Msg-id 4EBF85D8.2090800@beccati.com
обсуждение исходный текст
Ответ на Re: pg_restore --no-post-data and --post-data-only  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Hi Andrew,

On 13/11/2011 02:56, Andrew Dunstan wrote:
> Here is a patch for that for pg_dump. The sections provided for are
> pre-data, data and post-data, as discussed elsewhere. I still feel that
> anything finer grained should be handled via pg_restore's --use-list
> functionality. I'll provide a patch to do the same switch for pg_restore
> shortly.
>
> Adding to the commitfest.

FWIW, I've tested the patch as I've recently needed to build a custom 
splitting script for a project and the patch seemed to be a much more 
elegant solution. As far as I can tell, it works great and the output 
matches the result of my script.

The only little thing I've noticed is a missing ending ")" in the --help 
message.


Cheers
-- 
Matteo Beccati

Development & Consulting - http://www.beccati.com/


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Re: [patch] Include detailed information about a row failing a CHECK constraint into the error message
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: FDW system columns