Andrew McNamara <andr...@object-craft.com.au> writes: >>> The solution is to write the query in an unambiguous way: >>> SELECT $1::date + 1;
> You are missing the point: this is not about what types the SQL execution > sees. It is about making sure the correct recv function is applied to > the binary parameter data. Indeed, and the above locution does set that. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers