Error converting PG array to Perl (reproducable)
Jeff <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.dbdpg |
|---|---|
| Message-ID | <[email protected]> |
this works as of 2.13.10.
in a nutshell: I create an array with an index of 0 which causes PG to
output it as "[0:0]={12345}" which causes DBD::Pg to croak on it when
it tries to perlify the array.
Files to reproduce: http://fios.jefftrout.com:8080/~threshar/dbdpain/
[jtrout@xxxxx ~]$ perl dbdpain.pl
Tried to destringify a non-array!: 0:0]={12345} at dbdpain.pl line 10
--
Jeff Trout <[email protected]>
http://www.stuarthamm.net/
http://www.dellsmartexitin.com/