Re: introduce "default_use_oids" - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: introduce "default_use_oids"
Date
Msg-id 200310210203.h9L23uJ03852@candle.pha.pa.us
Whole thread Raw
In response to Re: introduce "default_use_oids"  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
This has been saved for the 7.5 release:

    http:/momjian.postgresql.org/cgi-bin/pgpatches2

---------------------------------------------------------------------------

Neil Conway wrote:
> On Fri, 2003-10-10 at 05:56, Manfred Koizar wrote:
> > On Tue, 30 Sep 2003 20:00:22 -0400, Neil Conway <neilc@samurai.com>
> > wrote:
> > >This patch adds a new GUC var, "default_use_oids"
> >
> > Shouldn't it be honoured by CREATE TABLE AS SELECT ... ?
>
> Good catch. I've attached an updated patch. I also included a few
> improvements to the docs.
>
> I think it would be a good idea to extend CREATE TABLE AS to allow WITH
> OIDS and WITHOUT OIDS to be specified, so that it provides a better
> option for people who need OIDs in their CREATE TABLE AS-generated
> tables than manually setting the default_use_oids GUC var (CREATE TABLE
> AS should also accept ON COMMIT ..., for that matter). But implementing
> this will require changing the internal representation of CREATE TABLE
> AS to be something more than just a wrapper over SelectStmt, I believe.
> I haven't made this change in the attached patch, but I'll probably do
> it before 7.5 is released. Any comments?
>
> -Neil
>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend

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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: minor HISTORY improvement
Next
From: Bruce Momjian
Date:
Subject: Re: Make pg_dump dump conversions