Re: pg_dump restore time and Foreign Keys

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Re: pg_dump restore time and Foreign Keys
Дата
Msg-id 200806081945.33732.xzilla@users.sourceforge.net
обсуждение исходный текст
Ответ на Re: pg_dump restore time and Foreign Keys  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_dump restore time and Foreign Keys
Список pgsql-hackers
On Saturday 07 June 2008 16:22:56 Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
> > Perhaps we need a GUC that says expert_mode = on. ...  Another idea
> > might be to make such command options superuser only, to ensure the
> > power is available, yet only in the hands of, by-definition, the trusted
> > few.
>
> This all seems pretty useless, as the sort of user most likely to shoot
> himself in the foot will also always be running as superuser.
>

yeah, i'm not a big fan of "set enable_footgun=true" since the people likely 
to get tripped up are going to blindly enable these modes. 

otoh, if we do such a thing, i would be a big fan of calling 
it "enable_footgun" :-)

> I'd much rather see us expend more effort on speeding up the checks
> than open holes in the system.
>

and i'm sure no one is against that idea, but you're never going to be able to 
match the performance of just avoiding the check. 

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: handling TOAST tables in autovacuum
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Overhauling GUCS