Re: [GENERAL] PHP and Postgres arrays

2008-01-18 Thread brian
Hannes Dorbath wrote: Yannick Warnier wrote: I thought about it, but it's not very portable if you want to ship a PHP application. But I admit I will fall back to that solution if I cannot find any other (considering PostgreSQL might be the only open-source database to offer in-fields arrays any

Re: [GENERAL] PHP and Postgres arrays

2008-01-18 Thread Hannes Dorbath
Yannick Warnier wrote: I thought about it, but it's not very portable if you want to ship a PHP application. But I admit I will fall back to that solution if I cannot find any other (considering PostgreSQL might be the only open-source database to offer in-fields arrays anyway). You can use the

Re: [GENERAL] PHP and Postgres arrays

2008-01-18 Thread Yannick Warnier
Le vendredi 18 janvier 2008 à 23:10 +0100, Ivan Sergio Borgonovo a écrit : > On Fri, 18 Jan 2008 23:01:09 +0100 > Yannick Warnier <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I've been searching (not very thoroughly, but still) for a way to > > get Postgres arrays right into PHP arrays, but it

Re: [GENERAL] PHP and Postgres arrays

2008-01-18 Thread Ivan Sergio Borgonovo
On Fri, 18 Jan 2008 23:01:09 +0100 Yannick Warnier <[EMAIL PROTECTED]> wrote: > Hello, > I've been searching (not very thoroughly, but still) for a way to > get Postgres arrays right into PHP arrays, but it seems that the > Postgres driver simply doesn't allow that. What about using a stored pro

[GENERAL] PHP and Postgres arrays

2008-01-18 Thread Yannick Warnier
Hello, I've been searching (not very thoroughly, but still) for a way to get Postgres arrays right into PHP arrays, but it seems that the Postgres driver simply doesn't allow that. The only solution seems to use some user-defined functions[1] to split the result of a query (a string) into a PHP a