Subject: | foreign_key_info fails if pg_expand_schema is not set |
Calling foreign_key_info() with pg_expand_array set to zero produces the
following error:
Can't use string ("{2}") as an ARRAY ref while "strict refs" in use at
/dp/usr/imb/work/dev_dbi_update/perl/lib/i686-linux-thread-multi/DBD/Pg.pm
line 952.
The failing line is trying to treat 'conkey' column as arrayref while
pg_expand_array of 0 suppresses the expansion and produces '{2}'.
We have code which uses arrays as string and needs pg_expand_array set to 0.