Re: [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO

From: Date: Sun, 01 Oct 2017 07:41:31 +0000
Subject: Re: [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-100806@lists.php.net to get a copy of this message
On Wed, 27 Sep 2017 11:47:21 +0200 / Matteo Beccati <php@beccati.com> said : > On 27/09/2017 11:34, Lester Caine wrote: > > openBlob is a specific feature of SQLite so the decision to use it > > already rules out any other database. IN PDO access to it via the > > generic blob functions is the proper way forward so that a call for > > a blob gives a blob what ever the underlying datbase. > > Seeing the RFC, I gave for granted that SQLite couldn't use the > standard LOB api provided by PDO, but maybe that isn't the case? I'll > leave the OP to reply. I wasn't aware of that API, I saw what the postgreSQL driver was doing and assumed it was the only way. See my response to @cmb but it seems like a nice option, I'll assess next week whether it can fit with the SQLite C API or not. Hopefully it will!

« previous php.internals (#100806) next »