Skip site navigation (1) Skip section navigation (2)

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

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: renameatt() can rename attribute of index, sequence, ...
Date: 2010-03-11 14:55:57
Message-ID: 603c8f071003110655g3fb44b01vf476118ba72f8775@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
2010/3/10 KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-03-11 14:56:35
Subject: Re: Can we still trust plperl?
Previous:From: Kenneth MarshallDate: 2010-03-11 14:52:11
Subject: Re: Can we still trust plperl?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group