Re: BUG #13461: Error message appears to use incorrect values - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #13461: Error message appears to use incorrect values
Date
Msg-id 24934.1435008005@sss.pgh.pa.us
Whole thread Raw
In response to BUG #13461: Error message appears to use incorrect values  (martin.kevin@gmail.com)
List pgsql-bugs
martin.kevin@gmail.com writes:
> The following bug has been logged on the website:
> Bug reference:      13461
> Logged by:          Kevin Martin
> Email address:      martin.kevin@gmail.com
> PostgreSQL version: 9.4.1
> Operating system:   AWS RDS
> Description:

> Given a column of 1000-dimension cubes the following triggers an error:
> CREATE INDEX ktest ON items USING gist(embeddings);
> ERROR:  index row size 8016 exceeds maximum 8152 for index "ktest"

> The error message appears to be out of order - the index row size reported
> is smaller than the maximum.

Hm.  No, the arguments are correctly ordered.  What this looks like is the
criterion to throw the error is overly conservative, or maybe there's some
other logic bug in the page-split code.  Can you supply sample data that
triggers this error?

            regards, tom lane

pgsql-bugs by date:

Previous
From: martin.kevin@gmail.com
Date:
Subject: BUG #13461: Error message appears to use incorrect values
Next
From: Tom Lane
Date:
Subject: Re: BUG #13459: Replaying WAL logs can hang on startup