Re: change in behaviour? Is this a regression in function?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Gavin Atkinson <gavin(dot)atkinson(at)ury(dot)york(dot)ac(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Re: change in behaviour? Is this a regression in function?
Date: 2003-01-18 16:40:19
Message-ID: 200301181640.h0IGeJA19362@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Gavin Atkinson wrote:
> >> Was this an intentional change or will it be fixed in 7.4?
>
> > It was an accident and will be fixed in 7.4.
>
> No, it was deliberate --- the difficulty of preserving the old behavior
> seemed too high, and there were no complaints about it at the time.
> http://archives.postgresql.org/pgsql-hackers/2002-09/msg00031.php
>
> We've gotten a very small number of complaints subsequently, but AFAICT
> most people either haven't noticed or like the space savings.
>
> There has been some subsequent discussion of adding a WITH/WITHOUT OIDS
> option to CREATE TABLE AS, eg
> http://archives.postgresql.org/pgsql-hackers/2002-11/msg00336.php
> http://archives.postgresql.org/pgsql-hackers/2002-11/msg00357.php
> but AFAICT the amount of effort needed is well out of proportion to the
> value of the feature. You can always do a plain CREATE TABLE and then
> fill the table with INSERT/SELECT, if you need to have OIDs.

I find it uneven for CREATE TABLE AS not to have oids, while CREATE
TABLE does. Was the problem that we had multiple tables in the query,
and some may have oids and some not, and we didn't know if we should
create an oid column?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-01-18 16:58:50 Re: change in behaviour? Is this a regression in function?
Previous Message Tom Lane 2003-01-18 16:34:55 Re: change in behaviour? Is this a regression in function?