Re: ALTER TABLE RENAME fix

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: Brent Verner <brent(at)rcfile(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: ALTER TABLE RENAME fix
Date: 2001-11-13 01:13:42
Message-ID: 200111130113.fAD1Dg719222@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

> What OIDs could we use to point columns ?
>
> Is it really a good idea to use IDs or numbers in the first place ?
> We know now reference by IDs aren't necessarily good, don't we ?
> It's not preferable to optimize only *rename*. IMHO this should be
> considered as a part of total object-dependency mechanism.

Sorry, I should have said attribute numbers, not oid, since _Tom_
removed OID's from pg_attribute. :-)

Good question. Several people thought attno was the way to go and it
seemed more natural because almost everything else goes by attno and not
name.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-11-13 01:28:54 Re: Possible patch to remove "triggered data change" support
Previous Message Bruce Momjian 2001-11-13 01:12:07 Re: Possible patch to remove "triggered data change" support