A couple complex type and array questions
Chris Travers <[email protected]> Mon, 7 Nov 2011 16:20:01 -0800
| Newsgroups | gmane.comp.db.postgresql.dbdpg |
|---|---|
| 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