Re: Setting a pre-existing index as a primary key

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Setting a pre-existing index as a primary key
Дата
Msg-id 2714.1210434929@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Setting a pre-existing index as a primary key  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Setting a pre-existing index as a primary key  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Setting a pre-existing index as a primary key  (Andrew Sullivan <ajs@commandprompt.com>)
Список pgsql-hackers
"Joshua D. Drake" <jd@commandprompt.com> writes:
> As a counter point, I don't see any reason to make the DBA's life 
> harder. Sure it is just one step but it is a human step, prone to error 
> and taking more time than it should. Why not just make it easy? 

I don't see that decorating infrequently-used statements with bizarre
options that duplicate the functionality of other commands is "making it
easy".  Apparently your definition of "easy" depends entirely on
keystrokes and not at all on memory/cognitive burden.

IMHO a utility command should do one easily-explained thing.  The fewer
options the better.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Setting a pre-existing index as a primary key
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: constraint exclusion analysis caching