0.37 unreleased
- Patch from Slavin Rezic <srezic@cpan.org> to prevent quoting around
numeric defaults in Pg.
+ - Pg: use default_db_schema when adding SERIAL columns instead of
+ hardcoding "public".
0.36 Thu Dec 13 17:49:35 PST 2007
- Patch from ISHIGAKI@cpan.org to suppress unnecessary warnings about
use DBIx::DBSchema::ColGroup::Unique;
use DBIx::DBSchema::ColGroup::Index;
-$VERSION = "0.37_01";
+$VERSION = "0.37_02";
$VERSION = eval $VERSION; # modperlstyle: convert the string into a number
$DEBUG = 0;
my $nextval;
warn $warning if $warning;
if ( $pg_server_version >= 70300 ) {
- $nextval = "nextval('public.${table}_${name}_seq'::text)";
+ my $db_schema = default_db_schema();
+ $nextval = "nextval('$db_schema.${table}_${name}_seq'::text)";
} else {
$nextval = "nextval('${table}_${name}_seq'::text)";
}
Copyright (c) 2000 Ivan Kohler
Copyright (c) 2000 Mail Abuse Prevention System LLC
-Copyright (c) 2007 Freeside Internet Services, Inc.
+Copyright (c) 2009 Freeside Internet Services, Inc.
All rights reserved.
This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.