On 4 Oct 2002 at 9:16, Thomas A. Lowery wrote: > I've a patch submitted to add PRECISION support, however it's not that > useful in Pg. For any varchar type column the value is -1. > > Two alternatives:
What about using pg_size?
my $field_sizes = $sth->{pg_size};
Albeit, it suffers from the same problem that Thomas' patch does. See
DBD::Pg docs for details.
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications & Database Integration
http://www.knowmad.com
