Re: ALTER TABLE RENAME fix - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: ALTER TABLE RENAME fix
Date
Msg-id 200111130113.fAD1Dg719222@candle.pha.pa.us
Whole thread Raw
In response to Re: ALTER TABLE RENAME fix  (Hiroshi Inoue <Inoue@tpf.co.jp>)
Responses Re: ALTER TABLE RENAME fix  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Possible patch to remove "triggered data change" support
Next
From: Tom Lane
Date:
Subject: Re: Possible patch to remove "triggered data change" support