pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 自己 <zoulx1982@163.com>
To: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: ALTER TABLE can NOT use set (OIDS=true)
Date: Thu, 19 May 2016 14:47:38 +0800 (CST)
Message-ID: <cbbab09.6f14.154c7c5069d.Coremail.zoulx1982@163.com> (raw)
In-Reply-To: <863714784A31A145844D361F189C6E6844C2D0BE@eusaamb107.ericsson.se>
References: <20160518163649.16245.11521@wrigleys.postgresql.org>
	<14010.1463592246@sss.pgh.pa.us>
	<863714784A31A145844D361F189C6E6844C2D0BE@eusaamb107.ericsson.se>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hi,
    I create a table, and then i want to add oid column, but only can use "set with oids", not use "set (oids = true)"
    while create table support both. Is this a problem?


    Here is is my testcase, thank you.
postgres=# create table x(a int) with(oids = false);
CREATE TABLE
postgres=# alter table x set(fillfactor = 90);
ALTER TABLE
postgres=# alter table x set (oids = true);
ERROR:  unrecognized parameter "oids"
postgres=#
postgres=# alter table x set with oids;
ALTER TABLE
postgres=#

view thread (2+ messages)  latest in thread

Message-ID: <cbbab09.6f14.154c7c5069d.Coremail.zoulx1982@163.com>
Permalink:  ../cbbab09.6f14.154c7c5069d.Coremail.zoulx1982@163.com/
Also on:    postgresql.org/message-id/cbbab09.6f14.154c7c5069d.Coremail.zoulx1982@163.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: zoulx1982@163.com
  Subject: Re: ALTER TABLE can NOT use set (OIDS=true)
  In-Reply-To: <cbbab09.6f14.154c7c5069d.Coremail.zoulx1982@163.com>
  References: <20160518163649.16245.11521@wrigleys.postgresql.org> <14010.1463592246@sss.pgh.pa.us> <863714784A31A145844D361F189C6E6844C2D0BE@eusaamb107.ericsson.se> <cbbab09.6f14.154c7c5069d.Coremail.zoulx1982@163.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox