From: hubert depesz lubaczewski <depesz@depesz.com>
To: pgsql-bugs@postgresql.org
Subject: Bug when changing datatype of primary key column
Date: Sat, 11 Aug 2012 12:53:32 +0200
Message-ID: <20120811105331.GA5981@depesz.com> (raw)
tested on:
1. 9.1.3
2. 9.3devel (yesterdays head in git)
steps to reproduce:
$ create table z (i int4);
CREATE TABLE
$ create unique index q on z (i);
CREATE INDEX
$ alter table z add primary key using index q;
ALTER TABLE
$ alter table z alter column i type int8;
ERROR: could not open relation with OID 16503
looks like some missing dependancy.
Best regards,
depesz
--
The best thing about modern society is how easy it is to avoid contact with it.
http://depesz.com/
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: depesz@depesz.com
Subject: Re: Bug when changing datatype of primary key column
In-Reply-To: <20120811105331.GA5981@depesz.com>
References: <20120811105331.GA5981@depesz.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