Hi,
Hopefully someone can help me and point me in right direction :)
I have been looking for GiST support extension for UUID datatype... since I
could not find it... I wanted to write it myself.
I need it more for EXCLUSION constraint - than to use GIST index just on
UUID column...
i.e:
Hi!
On Mon, Aug 22, 2011 at 2:54 PM, Misa Simic misa.si...@gmail.com wrote:
static int
m4_uuidkey_cmp(const void *a, const void *b)
{
uuidKEY*ia = (uuidKEY *) (((Usrt *) a)-t);
uuidKEY*ib = (uuidKEY *) (((Usrt *) b)-t);
int res;
res = DatumGetInt32(DirectFunctionCall2(uuid_cmp,
Thanks Alexander,
'Scalar datatype' - given me a hint...
Looking further in btree_gist source, for inet datatype, which seems a bit
complexier then uuid... (char, char, char[16]) structure for inet, compared
to jut char[16] for uuid.
GiST pattern works with double datatype... and there is