Re: Index row maximum size and crash

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Daniel Caune" <daniel(dot)caune(at)ubisoft(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Index row maximum size and crash
Date: 2006-07-27 21:08:36
Message-ID: 8567.1154034516@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Daniel Caune" <daniel(dot)caune(at)ubisoft(dot)com> writes:
> I try to create an index on character varying(64) column but PostgreSQL
> complains that the index row size reaches the maximum limit:

> CREATE INDEX IDX_GSLOG_EVENT_ARCHIVE_GAME_CLIENT_VERSION
> ON GSLOG_EVENT_ARCHIVE(GAME_CLIENT_VERSION);
> ERROR: index row requires 198468548 bytes, maximum size is 8191

That sure looks like a corrupted-data problem. Have you checked for bad
data in the GAME_CLIENT_VERSION column?

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message adey 2006-07-27 21:32:05 Re: VACUUM ANALYZE suddenly taking forever
Previous Message Tom Lane 2006-07-27 20:05:51 Re: PostgreSQL server terminated by signal 11