Re: index help for uuid datatype

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gevik Babakhani <pgdev(at)xs4all(dot)nl>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: index help for uuid datatype
Date: 2006-09-16 18:03:47
Message-ID: 29777.1158429827@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gevik Babakhani <pgdev(at)xs4all(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-09-16 18:08:55 Re: pgsql: sslinfo contrib module - information
Previous Message Gevik Babakhani 2006-09-16 17:44:45 Re: index help for uuid datatype