Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 00371B5DBBE for ; Mon, 22 Aug 2011 04:50:38 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 35216-06 for ; Mon, 22 Aug 2011 07:50:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.UniCell.local (unknown [212.199.51.242]) by mail.postgresql.org (Postfix) with ESMTP id 2417FB5D803 for ; Mon, 22 Aug 2011 04:50:31 -0300 (ADT) Received: from herouth-mac.prv.itipp.co.il.34.168.192.in-addr.arpa ([192.168.34.57]) by mail.UniCell.local with Microsoft SMTPSVC(6.0.3790.3959); Mon, 22 Aug 2011 10:48:06 +0300 From: Herouth Maoz Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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> To: pgsql-php@postgresql.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-OriginalArrivalTime: 22 Aug 2011 07:48:06.0599 (UTC) FILETIME=[D45F6570:01CC609F] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.294 tagged_above=-10 required=5 tests=BAYES_05=-0.5, RDNS_NONE=0.793, TO_NO_BRKTS_NORDNS=0.001 X-Spam-Level: X-Archive-Number: 201108/1 X-Sequence-Number: 4213 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=