Open source PostgreSQL type parsers in PHP?

From: "Dmitry Koterov" <dmitry(at)koterov(dot)ru>
To: "Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: Open source PostgreSQL type parsers in PHP?
Date: 2008-08-17 18:03:58
Message-ID: d7df81620808171103y5e0508e1p67d5c341dbace6e8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello.

Is there any open source and well-tested PHP libraries to parse and build
the following PostgreSQL data types?

- arrays (including N-dimensional): {a,b,c}
- hstore: "a=>b, c=>d"
- ROW: ("a","b","(""c"",""d"")")

E.g. I have some PHP variable and want to build corresponding PostgreSQL
value.
Or, I have fetched a PostgreSQL value as a string and want to parse it into
PHP variable.

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2008-08-17 20:44:45 Re: Delete across 5 Joined tables
Previous Message Oleg Vasylenko 2008-08-17 18:02:24 Re: How to execute 'set session role' from plpgsql function?