GetNewOidWithIndex can cause infinite loop on user tables(not catalog).

From: "Jacky Leng" <lengjianquan(at)163(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: GetNewOidWithIndex can cause infinite loop on user tables(not catalog).
Date: 2008-02-20 09:53:20
Message-ID: fpgtb6$j3f$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

e.g.
--Create table t(a int) with oids;
--create unique index it on t(oid);
--insert 4G-16384 rows into t;
--insert into t values(1);
As all oids has been used, GetNewObjectId will never find a usable Oid,
so.....

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2008-02-20 11:00:35 Re: GetNewOidWithIndex can cause infinite loop on user tables(not catalog).
Previous Message Vincent D'Haene 2008-02-20 09:42:34 Re: BUG #3951: SELECT ... WHERE Param = ? does not work if Param is of type bytea