Fix failure to propagate collation in negate_clause().

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

Commit: c8e993503d0f1a0cb8f187a136fb64cead9ba591
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-03-25T22:44:47Z
Releases: 9.1.0
Fix failure to propagate collation in negate_clause().

Turns out it was this, and not so much plpgsql, that was at fault in Stefan
Huehner's collation-error-in-a-trigger bug report of a couple weeks ago.

Files

PathChange+/−
src/backend/optimizer/prep/prepqual.c modified +3 −0