-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160
DBD::Pg gathers up information for foreign_key_info and then uses DBD::Sponge to turn it into a statement handle which is passed back to the caller. The problem is that the imp_dbh has a user-settable flag (pg_expand_array) which should always be off inside of dbd_st_fetch. What I need is some way to detect, inside of dbdimp.c, that the statement handle (imp_sth at this level) came from DBD::Sponge. Either inside of fetcth itself, or perhaps better, at an earlier stage so that I can set one of the internal imp_sth fields (imp_sth is a struct that is initialized in perpare). Any ideas on how to do this? In Perl, it's as easy as: if ('sponge' eq $sth->{Database}{Driver}{Name}) but getting that information inside of dbdimp.c is the bit I cannot figure out. - -- Greg Sabino Mullane g...@turnstep.com End Point Corporation http://www.endpoint.com/ PGP Key: 0x14964AC8 201311031006 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAlJ2ZoQACgkQvJuQZxSWSsgHLwCgwcLUlUKnluh/nnd+345FpA2z 2ikAoJG8SfJtICR4xWhZa6y5/nOD4mGj =Xlv4 -----END PGP SIGNATURE-----