>>>>> "Tom" == Tom Lane <t...@sss.pgh.pa.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)

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to