Re: renameatt() can rename attribute of index, sequence, ...

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: renameatt() can rename attribute of index, sequence, ...
Дата
Msg-id 603c8f071003110655g3fb44b01vf476118ba72f8775@mail.gmail.com
обсуждение исходный текст
Ответ на Re: renameatt() can rename attribute of index, sequence, ...  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Ответы Re: renameatt() can rename attribute of index, sequence, ...  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Список pgsql-hackers
2010/3/10 KaiGai Kohei <kaigai@ak.jp.nec.com>:
> Indeed, it is useful to allow renaming attribute of composite types.
>
> However, it is also useless to allow to rename attribute of sequences,
> but harmless, like renames on indexes. It seems to me it is fair enough
> to allow renaming attributes of tables, views and composite types...

I don't agree.  I think users should be allowed to rename things they
had a hand in naming in the first place (and index columns fall into
that category, since the names are derived from table column names).
But changing system-assigned column names for sequences or toast
tables is just weird.

...Robert


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Can we still trust plperl?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Server crash with older tzload library