=?UTF-8?Q?Grzegorz_Ja=C5=9Bkiewicz?= <gryzman(at)gmail(dot)com> writes:
> with a little help on Irc from Andrew (RhodiumToad) I got it 'fixed',
> but I know this is just a hack:
You seem to be laboring under the delusion that this is considered a
bug. It's a necessary semantic restriction, because the pushed-down
expression could mean different things when applied to different
data types.
regards, tom lane