"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