Re: PHP and Postgres arrays

From: Hannes Dorbath <light(at)theendofthetunnel(dot)de>
To: Yannick Warnier <ywarnier(at)beeznest(dot)org>
Subject: Re: PHP and Postgres arrays
Date: 2008-01-18 23:40:01
Message-ID: 479138D1.8060500@theendofthetunnel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michelle Konzack 2008-01-18 23:45:46 Re: [OT] RAID controllers blocking one another?
Previous Message David Wall 2008-01-18 23:17:44 Re: Stupid question about WAL archiving