Discussion: DBI::db::column_info returns wrong column_size

6 views
Skip to first unread message

Yanick Champoux

unread,
Sep 15, 2011, 3:27:56 PM9/15/11
to dbd-o...@googlegroups.com
Ladies, gents,

I need the opinion of the DBAs in the room. Please look at the
latest comment in

https://rt.cpan.org/Ticket/Display.html?id=13865

Basically, the value returned for VARCHAR2 is tc.CHAR_LENGTH instead of
tc.DATA_LENGTH, which seems
to contradict the DBI specs, which say that the maximum length _in
characters_ should be returned. Looking at the DBI pod, I also read it
that way. Does anybody sees any reason why that wouldn't be a bug?

Cheers,
`/anick

--
Yanick Champoux, Senior Perl Developer
The Pythian Group - love your data
http://www.pythian.com

--
The best compliment you could give Pythian for our service is a referral.

Reply all
Reply to author
Forward
0 new messages