Re: ERROR: index row size - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ERROR: index row size
Date
Msg-id 12939.1180843937@sss.pgh.pa.us
Whole thread Raw
In response to ERROR: index row size  ("Rodrigo Sakai" <rodrigo.sakai@poli.usp.br>)
List pgsql-hackers
"Rodrigo Sakai" <rodrigo.sakai@poli.usp.br> writes:
>   I developed a new data type using C and add this new type on PostgreSQL.
> Basically, the data type is: (DateADT, DateADT) with some temporal rules
> that I'm researching! The data type is ok; the in, out, receive and send
> functions are ok; some operations are ok. But the index operators and
> functions are not working properly! Actually I can use them, but in some
> cases an error occurs about index row size.

You have a bug in your datatype code.  There's no way an 8-byte datatype
should produce that error.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Rodrigo Sakai"
Date:
Subject: ERROR: index row size
Next
From: Mark Kirkwood
Date:
Subject: Re: ERROR: index row size