Andres Freund <and...@anarazel.de> writes:
> -             
> fmgr_info_collation(irel->rd_index->indcollation.values[attnum-1],
> +             fmgr_info_collation(irel->rd_indcollation[attnum-1],
>                                                       locinfo);

BTW, I went ahead and committed this part, since the bug and the fix are
clear.  I'm still not thrilled with the plan of sprinkling the code with
random fmgr_info_collation() calls to make up for the lack of a sane
default.  IMO, that *is* a default, just a badly implemented one.

                        regards, tom lane

-- 
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