Re: index help for uuid datatype - Mailing list pgsql-hackers

From Tom Lane
Subject Re: index help for uuid datatype
Date
Msg-id 29777.1158429827@sss.pgh.pa.us
Whole thread Raw
In response to Re: index help for uuid datatype  (Gevik Babakhani <pgdev@xs4all.nl>)
Responses Re: index help for uuid datatype  (Gevik Babakhani <pgdev@xs4all.nl>)
List pgsql-hackers
Gevik Babakhani <pgdev@xs4all.nl> writes:
> I was doing strncmp at some point but it did not work because 
> of the '\0'. I have created a custom comparison function and it seems to
> work.

Perhaps you just need memcmp instead of strncmp?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Gevik Babakhani
Date:
Subject: Re: index help for uuid datatype
Next
From: Bruce Momjian
Date:
Subject: Truncation of email subject lines