PDO, postgre and PHP data types

From: Developer <dev002(at)pas-world(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: PDO, postgre and PHP data types
Date: 2009-05-25 19:08:57
Message-ID: 1243278537.18371.16.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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/
--
--

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Chris 2009-05-25 23:13:47 Re: PDO, postgre and PHP data types
Previous Message Luis Esteban de Dios Núñez 2009-05-09 16:56:00 Me ha costado tanto...