Re: Confusion over Python drivers - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Confusion over Python drivers
Date
Msg-id 25211.1265985087@sss.pgh.pa.us
Whole thread Raw
In response to Re: Confusion over Python drivers  (Andrew McNamara <andrewm@object-craft.com.au>)
Responses Re: Confusion over Python drivers
List pgsql-hackers
Andrew McNamara <andrewm@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


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Add on_trusted_init and on_untrusted_init to plperl UPDATED [PATCH]
Next
From: Tom Lane
Date:
Subject: Re: review: More frame options in window functions