Re: Index row maximum size and crash - Mailing list pgsql-admin

From Tom Lane
Subject Re: Index row maximum size and crash
Date
Msg-id 8567.1154034516@sss.pgh.pa.us
Whole thread Raw
In response to Index row maximum size and crash  ("Daniel Caune" <daniel.caune@ubisoft.com>)
List pgsql-admin
"Daniel Caune" <daniel.caune@ubisoft.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

pgsql-admin by date:

Previous
From: "Daniel Caune"
Date:
Subject: Re: [SQL] PostgreSQL server terminated by signal 11
Next
From: adey
Date:
Subject: Re: VACUUM ANALYZE suddenly taking forever