pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Herouth Maoz <herouth@unicell.co.il>
To: pgsql-php@postgresql.org
Subject: How does PHP (and particularly ZF) deal with user types?
Date: Mon, 22 Aug 2011 10:50:24 +0300
Message-ID: <115DA040-818F-41DA-8A66-9256BED5D98D@unicell.co.il> (raw)

Hi.

I asked a question on the pgsql-sql mailing list, and the solution suggested using a type from pgfoundry.

How does PHP deal with user-defined types? Specifically, we use ZF library and it would be preferred not to have to write the queries literally but rather use the prepared statements offered by ZF. Are User-Defined types converted into any appropriate PHP constructs? Or do I have to convert everything into strings and parse returned strings into objects/arrays?

TIA
Herouth


Message-ID: <115DA040-818F-41DA-8A66-9256BED5D98D@unicell.co.il>
Permalink:  ../115DA040-818F-41DA-8A66-9256BED5D98D@unicell.co.il/
Also on:    postgresql.org/message-id/115DA040-818F-41DA-8A66-9256BED5D98D@unicell.co.il

 · 

reply

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: herouth@unicell.co.il
  Subject: Re: How does PHP (and particularly ZF) deal with user types?
  In-Reply-To: <115DA040-818F-41DA-8A66-9256BED5D98D@unicell.co.il>
  References: <115DA040-818F-41DA-8A66-9256BED5D98D@unicell.co.il>

* 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