Re: [HACKERS] Happy column dropping

From: Chris Bitmead <chris(at)bitmead(dot)com>
To: PostgreSQL Development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Happy column dropping
Date: 2000-01-24 03:50:07
Message-ID: 388BCBEF.615092D2@bitmead.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hannu Krosing wrote:

> Putting something in a development tree can hardly be called a "release"
> I'm sure many people would appreciate it even without "preserving oid-s"
> as OID's are declared deprecated for (AFAIK) >2 years,

I've never seen or heard of any mention of oids being "deprecated". Some
people don't like them much, other people like them. Myself, I think
they will be great when a few issues with them are cleaned up (e.g.
backup with preservation of oids and full INSERT statements).

> and they don't give
> any real advantage over primary key with default nextval, as there are
> currently no means for reasonably getting from oid to record.

Not sure what you mean by "no means". They are queried and indexed like
other fields. No advantage? Well it takes one less pg call to get the
last value, and it takes less storage since they are there anyway. They
will also be very important if and when postgres makes more moves toward
being an ODBMS.

BTW, if someone implememnted INSERT where you may optionally specify the
oid, would this solve the problem, as I take it this patch is all about
implementing drop column in terms of a CREATE/SELECT INTO.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kristofer Munn 2000-01-24 04:26:01 RE: [HACKERS] Patch for elog(FATAL)/elog(ERROR) infinite loop?
Previous Message Lamar Owen 2000-01-24 03:23:24 Re: [HACKERS] Happy column dropping