Hi Matteo,
2013/7/2 Matteo Beccati
> I'm talking about parameters, not results. The speedup would be only for
> inserts, not selects (which would require something that's not available
> in libpq).
>
For insert or update, binary can be inserted/updated directly.
If we do this transparently to u
Hi!
> I closed the vote. And I'm wondering if there is a minimum number of votes
> a proposal needs to get accepted?
> Well if there isn't it is accepted, and I'll move it to the right section.
It looks like it is a pretty specialized feature, so no wonder it didn't
have too many people voting. I
I closed the vote. And I'm wondering if there is a minimum number of votes
a proposal needs to get accepted?
Well if there isn't it is accepted, and I'll move it to the right section.
The mentioned pull request should be ready to be integrated into master,
but I think I could sleep a bit better at
On 02/07/2013 12:52, Yasuo Ohgaki wrote:
> Hi Matteo,
>
> 2013/7/2 Matteo Beccati mailto:p...@beccati.com>>
>>
>> > 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 th
Hi Matteo,
2013/7/2 Matteo Beccati
>
> > 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.
Hi Matteo,
2013/7/2 Matteo Beccati
> Raising an E_WARNING will most likely mean that it needs to be
> suppressed in some way, which I think is not necessary.
>
> I'm all for returning false when the input is invalid. However, given
> the behaviour change, I suppose it would be PHP 5.next materia
On 02/07/2013 12:21, Yasuo Ohgaki wrote:
> 2013/7/2 Matteo Beccati mailto:p...@beccati.com>>
> 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. May
Hi Matteo,
2013/7/2 Matteo Beccati
> > AFAIK, PDO doesn't handle bytea data natively.
>
> It does, as far as I remember. See PDO::PARAM_LOB
>
> 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
On 26/06/2013 11:51, Yasuo Ohgaki wrote:
> Hi Matteo,
>
> PDO_pgsql on the other hand, when used with explicit parameter binding,
> could automatically use binary format for LOB fields.
>
> AFAIK, PDO doesn't handle bytea data natively.
It does, as far as I remember. See PDO::PARAM_LOB
Hi Yasuo,
> pg_unescape_bytea() should raise error for invalid inputs
> https://bugs.php.net/bug.php?id=65165
>
> We need to discuss if E_WARING is proper, which branch should be
> changed.
>
> It will not break working code, so I would like to use E_WARNING and
> change it from PHP 5.4.
Raisin
On Fri, Jun 28, 2013 at 11:20 PM, Derick Rethans wrote:
>
> Hey Simon,
>
> PS, please don't top-reply as per mailinglist guidelines:
> http://us2.php.net/reST/README.MAILINGLIST_RULES
>
> On Fri, 28 Jun 2013, Simon Schick wrote:
> > On Fri, Jun 28, 2013 at 7:10 PM, Derick Rethans wrote:
> >
> > >
11 matches
Mail list logo