Re: Getting types from statement handle (DBD::Pg)

2002-04-19 Thread Thomas A. Lowery
Try the latest version (1.12). Tom On Thu, Apr 18, 2002 at 03:49:39PM -0400, Jeff Boes wrote: According to the DBI dox, this: names = map { scalar $dbh-type_info($_)-{TYPE_NAME} } { $sth-{TYPE} } should return the datatype of each column of a SELECT statement. All I ever get is

Getting types from statement handle (DBD::Pg)

2002-04-18 Thread Jeff Boes
According to the DBI dox, this: names = map { scalar $dbh-type_info($_)-{TYPE_NAME} } { $sth-{TYPE} } should return the datatype of each column of a SELECT statement. All I ever get is undefs. Does this not work right under DBD::Pg? -- Jeff Boes