Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100805 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11543 invoked from network); 1 Oct 2017 05:55:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Oct 2017 05:55:51 -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:55950] helo=mail.kd2.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/D7-34435-36380D95 for ; Sun, 01 Oct 2017 01:55:49 -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=Msu17Ce2kNSMJIV9Dqhm84JLISLPDOgZA6VrBShDs3M=; b=JlMOJOH196ylarlGNr+mDS74nIACryT74E/yP1MKE1lhOskf8RXX/Wc/QWmmzuQV9AgfTfeCWEg7VOn105354f71dKQ5cPM36nQjNyWtc0teut24Z0N3E4L04YqbVCyKjl3R9nF5VmvQu2J213UKppZQezu5lfiidEl3CfVpvFs=; 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 1dyXE8-0007Ti-MS; Sun, 01 Oct 2017 07:55:45 +0200 Date: Sun, 1 Oct 2017 18:55:40 +1300 To: "Christoph M. Becker" Cc: internals@lists.php.net Message-ID: <20171001185540.5e572e58@platypus> In-Reply-To: <0607d622-caa9-ae1d-33db-1958a0ff0500@gmx.de> References: <25903b1e0fc5a726e44b1e3a5ab4aec4@bohwaz.net> <0607d622-caa9-ae1d-33db-1958a0ff0500@gmx.de> 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: [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO From: php@bohwaz.net (BohwaZ) On Wed, 27 Sep 2017 11:41:50 +0200 / "Christoph M. Becker" said : > On 26.09.2017 at 04:03, BohwaZ/PHP wrote: > > > following my patch and discussions on this list, here is the RFC > > requested by some people here to implement "openBlob" in the > > pdo_sqlite driver, to match the "openBlob" method from the SQLite3 > > extension. > > > > https://wiki.php.net/rfc/implement_sqlite_openblob_in_pdo > > > > Discussion should happen in the next two weeks before going to vote. > > > > The actual patch is here: https://github.com/php/php-src/pull/2698 > > > > Suggestions and discussions welcome. > > PDO already has support for large objects (LOBs)[1]. I don't know if > and how these are supported by the pdo_sqlite driver, but wouldn't it > make sense to use the existing API instead of introducing a new > method? > > [1] > Very interesting indeed, didn't know about that feature, I was expecting the creation of a new method was the only way, as this was the way PGSQL was doing it. There's even a bug report about it: https://bugs.php.net/bug.php?id=57691 I will look into that next week and see if it can fit and replace my RFC then. Thank you.