Szűcs Gábor <surrano@gmail.com> writes:
> [local]:tir=# select case 'a' when 'a' then 1 else 2 end as asdf;
> ERROR: failed to find conversion function from "unknown" to text
> This worked up to v7.4.6, and couldn't see it in the "Migration" part of the
> HISTORY file.
This is an unintended side effect of the change to evaluate CASE
constructs more efficiently. I'll fix it.
regards, tom lane