Bug when changing datatype of primary key column

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Bug when changing datatype of primary key column
Дата
Msg-id 20120811105331.GA5981@depesz.com
обсуждение исходный текст
Ответы Re: Bug when changing datatype of primary key column
Список pgsql-bugs
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/

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Daniel Farina
Дата:
Сообщение: Re: BUG #7486: Error Group by
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug when changing datatype of primary key column