Re: PHP and Postgres arrays - Mailing list pgsql-general

From Hannes Dorbath
Subject Re: PHP and Postgres arrays
Date
Msg-id 479138D1.8060500@theendofthetunnel.de
Whole thread Raw
In response to Re: PHP and Postgres arrays  (Yannick Warnier <ywarnier@beeznest.org>)
Responses Re: PHP and Postgres arrays
List pgsql-general
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 build in function array_to_string:
http://www.postgresql.org/docs/8.3/static/functions-array.html


--
Best regards,
Hannes Dorbath

pgsql-general by date:

Previous
From: David Wall
Date:
Subject: Re: Stupid question about WAL archiving
Next
From: brian
Date:
Subject: Re: PHP and Postgres arrays