Alvaro Herrera wrote:
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)
That line number is wrong on CVS HEAD, BTW. I think I copy-pasted that from an old checkout. It's really:
TRAP: FailedAssertion("!(!(tup->t_data->t_infomask & 0x0008))", File: "heapam.c", Line: 1855)
I think the fix is to just remove the Assert() ...
I don't think we want to insert tuples with OIDs to a table after SET WITHOUT OIDS. It would be a waste of space. And bizarre.
-- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
