On Thu, Feb 6, 2020 at 2:44 PM PG Bug reporting form <noreply(at)postgresql(dot)org>
wrote:
> The only difference between the two calls is how I'm casting the integer.
>
Not a bug - operator precedence:
https://www.postgresql.org/docs/12/sql-syntax-lexical.html#SQL-PRECEDENCE
David J.