Re: creating index names automatically?

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: creating index names automatically?
Дата
Msg-id 20091219213041.GA13295@a-kretschmer.de
обсуждение исходный текст
Ответ на creating index names automatically?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
In response to Peter Eisentraut :
> Could we create an option to create index names automatically, so you'd
> only have to write
> 
> CREATE INDEX ON foo (a);
> 
> which would pick a name like foo_a_idx.  We already do this in a number
> of places such as constraint names and sequences without much trouble.
> In most cases you don't really need to give an index a smart name since
> the purpose is obvious.
> 
> Comments?

+1, as an additional option, only if no index-name specified.


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431  2EB0 389D 1DC2 3172 0C99


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: creating index names automatically?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: LATERAL