creating index names automatically?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема creating index names automatically?
Дата
Msg-id 1261256801.3347.3.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: creating index names automatically?  (Brendan Jurd <direvus@gmail.com>)
Re: creating index names automatically?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: creating index names automatically?  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: creating index names automatically?  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
Список pgsql-hackers
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?



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

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