Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 8F7B8634CEB for ; Mon, 25 May 2009 16:08:31 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 08443-04 for ; Mon, 25 May 2009 16:08:25 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from pas-world.com (pas-world.com [93.189.88.237]) by mail.postgresql.org (Postfix) with ESMTP id 17E0C634C59 for ; Mon, 25 May 2009 16:08:27 -0300 (ADT) Received: from [127.1.0.1] (localhost.localdomain [127.0.0.1]) by pas-world.com (8.13.8/8.13.8) with ESMTP id n4PJ87HZ001794 for ; Mon, 25 May 2009 21:08:15 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pas-world.com; s=mail; t=1243278497; bh=TyRHXzzkBpQdnQUxAb56qBPvXoxEYJ0U0jn2Q0auSp0=; l=693; h=Subject:From:To:Content-Type:Date:Message-Id:Mime-Version: Content-Transfer-Encoding; b=CTSA1jwEQuWcYRr/ty18A+I70qWEncKNpm9ZTbnE9urOHctdSCIxBDnulL0zcAN/r d2qTQ6s2YvXapR+pZpV/3PuVJQ1jcmiDhXYKh+5nVDjUE0eJudiOSwqOaexQrGY Subject: PDO, postgre and PHP data types From: Developer To: pgsql-php@postgresql.org Content-Type: text/plain Date: Mon, 25 May 2009 21:08:57 +0200 Message-Id: <1243278537.18371.16.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 (2.24.5-1.fc10) Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (pas-world.com [127.0.0.1]); Mon, 25 May 2009 21:08:17 +0200 (CEST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.45 tagged_above=0 required=5 tests=AWL=1.450, RCVD_IN_DNSWL_LOW=-1 X-Spam-Level: X-Archive-Number: 200905/8 X-Sequence-Number: 4028 Hello, I have some problem with data type of PDO returned instance, array of integer (_int4[]) is returned as string. I read ref.pgsql.php, but nothing said how solve this problem. I use something like this for it: $dat=array($k=>explode(',',trim($v,'{}'))); // One dimension array But it is very slow. Any method to return correct data types from DATABASE to PHP parsed with high speed code (like C)? Any postgresql driver version? -- -- -- Publicidad y Servicios http://www.pas-world.com Directorio http://www.precioventa.com Tienda http://informatica.precioventa.com/es/ Autoridad certificadora http://ca.precioventa.com/es/ -- --