Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100781 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61633 invoked from network); 27 Sep 2017 09:17:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Sep 2017 09:17:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@beccati.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=php@beccati.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain beccati.com designates 176.9.123.236 as permitted sender) X-PHP-List-Original-Sender: php@beccati.com X-Host-Fingerprint: 176.9.123.236 box.beccati.com Received: from [176.9.123.236] ([176.9.123.236:50201] helo=box.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/82-34114-4BC6BC95 for ; Wed, 27 Sep 2017 05:17:41 -0400 Received: from authenticated-user (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by box.beccati.com (Postfix) with ESMTPSA id D0C3F2002DA; Wed, 27 Sep 2017 11:17:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beccati.com; s=mail; t=1506503857; bh=XncQX/31Sam5rnzSeOFvykbMeNesXVJkL2PPr2vZ71M=; h=Subject:To:References:From:Date:In-Reply-To:From; b=NQUzKGKTxo2w7UdR6xqkbf9povt5fAEKzfhI5HdWlaTzpMmpNnU96gtgWcyt7fHhM VWP7EyS42Q4SKTyjR2J3q/kpFNjRC7QQqaGeertQqiy4dkPb/AvpxdgaRMUF8YxR5n 3SicQ6nxFUedioxcG8cwFdjLiihiuLRALzIdoanaY5tLpWlWFCqIVS3zROEJZjBTzm 7kEidkmpgUWKLd/izjhtIwLAaH07ZxChbT+naCoDf2Mraa9kB4PfkKbfXX2Wa9hRAc 7w54JKCbhvkPKsHbRFHhUIZQ3KFYQHL1GMw9cRLge5m6xw7vhJbdFZGymBtvcARzR9 khh9gEQlZJaZw== To: Lester Caine , internals@lists.php.net References: <25903b1e0fc5a726e44b1e3a5ab4aec4@bohwaz.net> Message-ID: <86cad23e-a50b-515e-bc94-f98f813f1b05@beccati.com> Date: Wed, 27 Sep 2017 11:17:35 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO From: php@beccati.com (Matteo Beccati) Hi Lester, On 27/09/2017 11:00, Lester Caine wrote: > The bigger question is - Should database specific extensions to PDO be > allowed at all? The WHOLE base of PDO was that it would allow easy data > management between DIFFERENT databases. This should be implemented in a > way that mirrors blobs generically otherwise the generic database driver > should be used since a switch to another PDO driver will fail. This > should apply to any targeted extension to PDO, so anything that breaks > the generic base data needs tidying up. That's a wrong assumption. PDO was born to allow quickly writing database drivers, not as an abstraction layer that allows you to seamlessly move from one another. I thought the same but I was corrected by someone that was involved in the process. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/