>>>>> "Tom" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
Tom> BTW ... while I'm thinking about it: it seems to me to be a
Tom> serious error that the consistent() function isn't given nkeys
Tom> so that it can know the length of the arrays it's being handed.
Tom> I suppose it's possible for it to re-deduce nkeys by examining
Tom> the query datum, but that could be quite expensive; and it's
Tom> certainly error-prone to have to keep extractQuery() and
Tom> consistent() in sync on this.
I ran into exactly this problem in hstore; the omission of nkeys there
is seriously annoying.
--
Andrew (irc:RhodiumToad)