Re: "anyelement2" pseudotype

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "anyelement2" pseudotype
Дата
Msg-id 29364.1171568080@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: "anyelement2" pseudotype  (Tom Dunstan <pgsql@tomd.cc>)
Ответы Re: "anyelement2" pseudotype
Список pgsql-hackers
Tom Dunstan <pgsql@tomd.cc> writes:
> I do have b-tree (and hash) support for enums, so it sounds like I'll 
> have to hit the same spot. I've got what I thought was a reasonably 
> comprehensive test of all the enum features which passes make check, so 
> if there's a likely failure in that code then I'm missing a test 
> somewhere. Did you have a test case for the ri_triggers stuff that you 
> did? What's going to fail?

ri_HashCompareOp, which I think is mainly invoked in cases of UPDATEing
a PK or FK row (to see whether the relevant columns changed).  If one
of the columns is an enum type, it's going to need to be able to realize
that coercing that to ANYENUM is a no-op.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Dunstan
Дата:
Сообщение: Re: "anyelement2" pseudotype
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "anyelement2" pseudotype