Re: [HACKERS] btree_gin and btree_gist for enums - Mailing list pgsql-hackers

From Emre Hasegeli
Subject Re: [HACKERS] btree_gin and btree_gist for enums
Date
Msg-id CAE2gYzxM6L2VQzuRzQPK3x=UWsSi=47jLtLoeCPE5BeLwPfnjQ@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] btree_gin and btree_gist for enums  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> The reason this is kind of scary is that it's just blithely assuming
> that the function won't look at the *other* fields of the FmgrInfo.
> If it did, it would likely get very confused, since those fields
> would be describing the GIN support function, not the function we're
> calling.

I am sorry if it doesn't make sense, but wouldn't the whole thing be
better, if we refactor enum.c to call only he internal functions with
TypeCacheEntry just like the rangetypes?



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] btree_gin and btree_gist for enums
Next
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] btree_gin and btree_gist for enums