Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45738 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48903 invoked from network); 12 Oct 2009 10:47:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Oct 2009 10:47:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 83.243.58.133 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 83.243.58.133 mailout1.netbeat.de Linux 2.6 Received: from [83.243.58.133] ([83.243.58.133:53852] helo=mailout1.netbeat.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/73-32586-72903DA4 for ; Mon, 12 Oct 2009 06:47:04 -0400 Received: (qmail 30095 invoked by uid 89); 12 Oct 2009 10:49:25 -0000 Received: from unknown (HELO ?192.168.1.111?) (postmaster%schlueters.de@88.217.57.188) by mailout1.netbeat.de with ESMTPA; 12 Oct 2009 10:49:25 -0000 To: Lukas Kahwe Smith Cc: Matteo Beccati , Pierre Joye , Samuel ROZE , Christopher Jones , PHP Internals In-Reply-To: <6E94ABCF-387B-4AD0-BD8A-C59E97291835@pooteeweet.org> References: <1254806557.19561.3.camel@samuel-laptop> <1254894205.7418.32.camel@samuel-laptop> <4ACC2B8F.2040302@oracle.com> <4ACC2E8F.8040903@beccati.com> <4ACC2F62.4050601@oracle.com> <4ACC30A3.8030205@beccati.com> <4ACC32E1.6070909@oracle.com> <4ACC3DDE.8020905@beccati.com> <1254914836.7418.52.camel@samuel-laptop> <4ACC9C53.9040200@beccati.com> <6E94ABCF-387B-4AD0-BD8A-C59E97291835@pooteeweet.org> Content-Type: text/plain; charset="UTF-8" Date: Mon, 12 Oct 2009 12:46:28 +0200 Message-ID: <1255344388.1676.9.camel@guybrush> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PDO PgSQL: _pdo_pgsql_notice From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Hi, On Wed, 2009-10-07 at 15:55 +0200, Lukas Kahwe Smith wrote: > yeah .. its certainly a valid question. > we have stuff like lastInsertId(), which depending on the driver > either gets the current value of a sequence or the last id generated > for the connection. > so going by that example unifying things under a common API makes > sense if that means that it makes writing portable code easier. For that we shouldn't do just random small changes but take a look at the whole picture (PDO2?) Most of the things need new hooks or change PDO APIs in a breaking way so they can't be done in 5.3, so maybe the time till 6.0 can be used to really identify and collect the issues and then either refactor or recreate it depending on the results. There was a group once working on these things which ended in political/legal/... discussions maybe the effort can be revived now, two years later. What I see is that many people would like having a proper abstraction layer (what ever is to be abstracted) and PDO has too many rough edges. johannes