From: Developer <dev002@pas-world.com>
To: pgsql-php@postgresql.org
Subject: PDO, postgre and PHP data types
Date: Mon, 25 May 2009 21:08:57 +0200
Message-ID: <1243278537.18371.16.camel@localhost.localdomain> (raw)
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/
--
--
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: dev002@pas-world.com
Subject: Re: PDO, postgre and PHP data types
In-Reply-To: <1243278537.18371.16.camel@localhost.localdomain>
References: <1243278537.18371.16.camel@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox