Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100806 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15925 invoked from network); 1 Oct 2017 07:41:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Oct 2017 07:41:46 -0000 Authentication-Results: pb1.pair.com header.from=php@bohwaz.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@bohwaz.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bohwaz.net designates 5.135.163.151 as permitted sender) X-PHP-List-Original-Sender: php@bohwaz.net X-Host-Fingerprint: 5.135.163.151 sanguine.kd2.org Received: from [5.135.163.151] ([5.135.163.151:59048] helo=mail.kd2.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/48-34435-53C90D95 for ; Sun, 01 Oct 2017 03:41:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bohwaz.net; s=mail; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=P/XFk0liFv74ZU0mFkmosPROx+P6VqSzOLRF8Gej5m0=; b=hGHXE98aYo6CXJcQOGF+GutxoklnAEXL6XjPePi2XTXEtKXCWHZo3ki+jOMpAYffA8N+YchaFyCRuPZBdfcZoFX8BF3Cimcam/fqDuv4ZctmhqBzEVVqbWUrrJEAQZnei2AmEcHtj6hHONYoRww4f6D+KjM15jWAVvtzxJpXYEw=; Received: from [121.99.159.178] (helo=platypus) by mail.kd2.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1dyYsb-0007Eu-RX; Sun, 01 Oct 2017 09:41:38 +0200 Date: Sun, 1 Oct 2017 20:41:31 +1300 To: Matteo Beccati Cc: Lester Caine , internals@lists.php.net Message-ID: <20171001204131.4079c882@platypus> In-Reply-To: References: <25903b1e0fc5a726e44b1e3a5ab4aec4@bohwaz.net> <86cad23e-a50b-515e-bc94-f98f813f1b05@beccati.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authenticated-User: bwz@bohwaz.net X-Authenticator: login X-Invalid-HELO: HELO is no FQDN (contains no dot) (See RFC2821 4.1.1.1) X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) Subject: Re: [PHP-DEV] [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO From: php@bohwaz.net (BohwaZ) On Wed, 27 Sep 2017 11:47:21 +0200 / Matteo Beccati 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!