Re: RESET command seems pretty disjointed now

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Re: RESET command seems pretty disjointed now
Дата
Msg-id 4622BE5A.6060101@paradise.net.nz
обсуждение исходный текст
Ответ на RESET command seems pretty disjointed now  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: RESET command seems pretty disjointed now  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> The current documentation for RESET exhibits a certain lack of, um,
> intellectual cohesiveness:
> 
> Name
> 
> RESET -- restore the value of a run-time parameter to the default value
> 
> Synopsis
> 
> RESET configuration_parameter
> RESET ALL
> RESET { PLANS | SESSION | TEMP | TEMPORARY }
> 
> 
> That one-line summary has got approximately zip to do with the newly
> added options; as does most of the Description section.  At the very
> least this manual page needs an extensive rewrite.  But I wonder whether
> the real problem isn't that we chose a bad name for the new commands.
> Is there another keyword we could use instead of RESET?  A concrete
> objection to the current state of affairs is that absolutely anyone,
> looking at this set of options with no prior knowledge of PG, would
> expect that RESET ALL subsumes all the other cases.

Maybe DISCARD for the plans etc might be more intuitive than extending 
RESET?

Mark


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: SoC Students/Projects selected
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: Build-Problem with pgc.c on OSX 10.4