Re: superuser unable to modify settings of a system table

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: superuser unable to modify settings of a system table
Дата
Msg-id AANLkTimK0wRwr42tDQfF6N4QzdxdAaCF6pCQH_jsxYje@mail.gmail.com
обсуждение исходный текст
Ответ на Re: superuser unable to modify settings of a system table  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: superuser unable to modify settings of a system table
Список pgsql-bugs
On Thu, Jun 3, 2010 at 1:21 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Gurjeet Singh <singh.gurjeet@gmail.com> writes:
>> allow_system_table_mods needs a restart :( .Yet another parameter I wish was
>> changeable on the fly.
>
> I'm not sure there's any compelling reason why it couldn't be SUSET.
> Maybe a TODO ...

Personally, I think it would be better to put some work into making
allow_system_table_mods a little less simple-minded.  Right now,
!allow_system_table_mods prohibits you from doing perfectly sensible
things (as in the OP's original example) yet still allows you to do
things that are totally nuts (like DELETE FROM pg_class, which causes
every subsequent connection attempt for that database to panic).
Perfection may be too much to ask for but I'd take "modest
improvement"...

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: BUG #5490: Using distinct for select list causes insert of timestamp string literal to fail
Следующее
От: Tom Lane
Дата:
Сообщение: Re: superuser unable to modify settings of a system table