when reading from Pg databases
Revision history for Perl extension DBIx::DBSchema.
+0.18 unreleased
+ - Added Table::delcolumn
+ - patch from Charles Shapiro <cshapiro@numethods.com> to add
+ `ORDER BY a.attnum' to the SQL in DBIx::DBSchema::DBD::Pg::columns
+
0.17 Sat Jul 7 17:55:33 2001
- Rework Table->new interface for named params
- Fixes for Pg blobs, yay!
use vars qw($VERSION @ISA %typemap);
use DBIx::DBSchema::DBD;
-$VERSION = '0.02';
+$VERSION = '0.03';
@ISA = qw(DBIx::DBSchema::DBD);
%typemap = (
FROM pg_class c, pg_attribute a, pg_type t
WHERE c.relname = '$table'
AND a.attnum > 0 AND a.attrelid = c.oid AND a.atttypid = t.oid
+ ORDER BY a.attnum
END
$sth->execute or die $sth->errstr;
map {