Re: A bug with ALTER TABLE SET WITHOUT OIDS in CVS HEAD

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: A bug with ALTER TABLE SET WITHOUT OIDS in CVS HEAD
Дата
Msg-id 20081105203129.GW4114@alvh.no-ip.org
обсуждение исходный текст
Ответ на A bug with ALTER TABLE SET WITHOUT OIDS in CVS HEAD  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: A bug with ALTER TABLE SET WITHOUT OIDS in CVS HEAD  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
Heikki Linnakangas wrote:

> made this test case crash:
>
> CREATE TABLE xtable (padding char(2000)) WITH OIDS;
> INSERT INTO xtable  VALUES('1');
> ALTER TABLE xtable SET WITHOUT OIDS;
> INSERT INTO xtable (SELECT * FROM xtable);
>
> with assertion failure:
>
> TRAP: FailedAssertion("!(!(tup->t_data->t_infomask & 0x0008))", File:  
> "heapam.c", Line: 1782)

I think the fix is to just remove the Assert() ...

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: A bug with ALTER TABLE SET WITHOUT OIDS in CVS HEAD
Следующее
От: Kenneth Marshall
Дата:
Сообщение: Re: [RRR] Tests citext casts