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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
Cc: "Jacky Leng" <lengjianquan(at)163(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: GetNewOidWithIndex can cause infinite loop on user tables(not catalog).
Date: 2008-02-20 16:15:19
Message-ID: 8705.1203524119@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Heikki Linnakangas" <heikki(at)enterprisedb(dot)com> writes:
> Jacky Leng wrote:
>> --Create table t(a int) with oids;
>> --create unique index it on t(oid);
>> --insert 4G-16384 rows into t;

> ... Therefore: don't do that.

Indeed. It might be a good idea if that loop had a
CHECK_FOR_INTERRUPTS, though.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-02-20 18:14:52 Re: BUG #3969: pg_ctl cannot detect server startup
Previous Message Tom Lane 2008-02-20 16:04:45 Re: BUG #3965: UNIQUE constraint fails on long column values