develooper Front page | perl.dbd.pg | Postings from November 2011

A couple complex type and array questions

Thread Next
From:
Chris Travers
Date:
November 7, 2011 16:20
Subject:
A couple complex type and array questions
Message ID:
CAKt_Zfs8nknM3spOQ4ZWHjcqz34PqFrOjj0+gYGn2vzK6ecNHA@mail.gmail.com
Hi all;

1) I remember reading previously about complex type support in
DBD::Pg, but reading through the perl module code, I can't find how
hashrefs are mapped to string representations of tuples.  Is this in
fact supported at present?  Is there a private method  I can call for
the parsing (for reasons, see below)?

2) Reading through the DBD::Pg code, I am guessing it is not possible
to pass arrays of complex types to DBD::Pg is it?

3) If I want to use table definitions as complex types, this won't
work with the current discovery, correct?

Would the DBD::Pg team be interested in patches at some point on these
areas?  My plan is to copy relevant portions of DBD::Pg into my app
(in my app's namespaces) and tweak them, and then once they are
working I could use them from there pending generally available
versions with the same functionality.

Best Wishes,
Chris Travers

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About