Re: pgsql: Binary data support improvement
On 02/07/2013 12:21, Yasuo Ohgaki wrote:
> 2013/7/2 Matteo Beccati <[email protected] <mailto:[email protected]>>
> We could easily (and transparently) use binary for the parameters
> explicitly bound as LOB, but I see no way we can use binary for results
> -- which usually is the most common operation. Maybe it's better than
> nothing though?
>
> The API is not for ease of use, but for better performance as it eliminate
> needless hex conversions on both server and client side.
What I meant is that we might have that speed improvements for free in
PDO when bytea is used as a parameter (i.e. most likely insert/updates).
With no visible change for the user and full backwards compatibility.
Cheers
--
Matteo Beccati
Development & Consulting - http://www.beccati.com/
Thread (10 messages)