Re: A little pg_dump patch

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: A little pg_dump patch
Дата
Msg-id 1d07ac99930ec8d28100d033fa39c66d@biglumber.com
обсуждение исходный текст
Ответ на Re: A little pg_dump patch  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: A little pg_dump patch
Список pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


>> 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 

Or just strip them out after the fact with a little bit of SQL, e.g. 

DELETE FROM pg_description WHERE objoid > 50000;

(test first, your system may vary and 50000 may not work)

- -- 
Greg Sabino Mullane greg@turnstep.com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201109191143
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAk53YzsACgkQvJuQZxSWSsgA0wCguiURJI4Hneu7Dn+vBtcEOLsR
/OcAn35ujJCWhf2tM3a1J2yek0uddF1X
=wc3x
-----END PGP SIGNATURE-----




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

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