Re: WIP: fix SET WITHOUT OIDS, add SET WITH OIDS

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Marko Kreen <markokr(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, David Fetter <david(at)fetter(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIP: fix SET WITHOUT OIDS, add SET WITH OIDS
Date: 2009-02-09 16:50:38
Message-ID: 603c8f070902090850n51bcce8csf71198502384477d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Feb 9, 2009 at 11:36 AM, Marko Kreen <markokr(at)gmail(dot)com> wrote:
> On 2/9/09, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Marko Kreen <markokr(at)gmail(dot)com> writes:
>> > But now that I learned that ALTER TABLE WITHOUT OIDS either causes bugs
>> > or requires table rewrite, it turned from minor annoyance to big annoyance.
>> > So I'd like have a reasonable path for getting rid of them, which we don't
>> > have currently.
>>
>> We've had SET WITHOUT OIDS since 7.3 or thereabouts. Anybody who hasn't
>> applied it in all that time either does not care, or actually needs the
>> OIDs and will be unhappy if we arbitrarily remove the feature.
>
> Sure I did not care. Because I thought I can get rid of them
> anytime I wanted. But it seems it's not the case...
>
> We've set default_with_oids = false, for quite a long time. But there
> are still tables remaining with oids. And this discussion showed it
> now easy to get rid of them.
>
> I can patch Postgres myself, but I was thinking maybe others want also
> some solution.

I must be missing something. Why would you need to patch PostgreSQL
and how would it help you if you did?

...Robert

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Kreen 2009-02-09 16:56:33 Re: WIP: fix SET WITHOUT OIDS, add SET WITH OIDS
Previous Message Robert Haas 2009-02-09 16:47:14 Re: I can see beta now