Re: A little pg_dump patch

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: A little pg_dump patch
Дата
Msg-id 4E776091.1090000@dunslane.net
обсуждение исходный текст
Ответ на Re: A little pg_dump patch  (Enrico Pirozzi <sscotty71@gmail.com>)
Ответы Re: A little pg_dump patch
Re: A little pg_dump patch
Список pgsql-hackers

On 09/19/2011 11:23 AM, Enrico Pirozzi wrote:
>> What's the use case for not dumping comments? At first glance it seems a
>> very odd thing to do.
>>
>>
> I wrote this little patch, becuse  my customer doesn't want to have
> comments on the production db. It's not my choice
>
>

Then use pg_restore --use-list to filter them out, and you won't need a 
single line of C code to achieve your goal. The --use-list option gives 
you very fine grained control over what gets restoresd and what does 
not. Patching pg_dump like this seems like the wrong way to go.

cheers

andrew



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

Предыдущее
От: Florian Pflug
Дата:
Сообщение: Re: Range Types - typo + NULL string constructor
Следующее
От: Enrico Pirozzi
Дата:
Сообщение: Re: A little pg_dump patch