Improve reporting of run-time-detected indeterminate-collation errors.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6e197cb2e537880f36828a6c55d0f6df5bf7daa8
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-03-22T20:55:32Z
Releases: 9.1.0
Improve reporting of run-time-detected indeterminate-collation errors.

pg_newlocale_from_collation does not have enough context to give an error
message that's even a little bit useful, so move the responsibility for
complaining up to its callers.  Also, reword ERRCODE_INDETERMINATE_COLLATION
error messages in a less jargony, more message-style-guide-compliant
fashion.

Files