From: Jonathan Yu Date: Wed, 14 Jan 2009 15:00:41 +0000 (+0000) Subject: - Fixes a bug where _apply_default_value is not found (due to it being part of SQL... X-Git-Tag: v0.11008~258 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8d11f4cb2c75adafc4686ee3196331675c554162;p=dbsrgits%2FSQL-Translator.git - Fixes a bug where _apply_default_value is not found (due to it being part of SQL::Translator::Producer); does this by simply making this PostgreSQL producer a subclass of the SQLT::Producer base. --- diff --git a/lib/SQL/Translator/Producer/PostgreSQL.pm b/lib/SQL/Translator/Producer/PostgreSQL.pm index 920a893..f711b4f 100644 --- a/lib/SQL/Translator/Producer/PostgreSQL.pm +++ b/lib/SQL/Translator/Producer/PostgreSQL.pm @@ -42,6 +42,7 @@ use vars qw[ $DEBUG $WARN $VERSION %used_names ]; $VERSION = sprintf "%d.%02d", q$Revision: 1.29 $ =~ /(\d+)\.(\d+)/; $DEBUG = 0 unless defined $DEBUG; +use base qw(SQL::Translator::Producer); use SQL::Translator::Schema::Constants; use SQL::Translator::Utils qw(debug header_comment); use Data::Dumper;