From: Gudmundur A. Thorisson Date: Mon, 26 Jan 2004 22:17:25 +0000 (+0000) Subject: Changed max_id_length to 62, from previous 30, since PostgreSQL now allows X-Git-Tag: v0.06~227 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=83efd5a302a1193a18b570ce5c080ba8e5bca526;p=dbsrgits%2FSQL-Translator.git Changed max_id_length to 62, from previous 30, since PostgreSQL now allows longer identifiers than 30. --- diff --git a/lib/SQL/Translator/Producer/PostgreSQL.pm b/lib/SQL/Translator/Producer/PostgreSQL.pm index acb91d5..534d93b 100644 --- a/lib/SQL/Translator/Producer/PostgreSQL.pm +++ b/lib/SQL/Translator/Producer/PostgreSQL.pm @@ -1,7 +1,7 @@ package SQL::Translator::Producer::PostgreSQL; # ------------------------------------------------------------------- -# $Id: PostgreSQL.pm,v 1.20 2003-10-15 19:07:13 kycl4rk Exp $ +# $Id: PostgreSQL.pm,v 1.21 2004-01-26 22:17:25 mummi Exp $ # ------------------------------------------------------------------- # Copyright (C) 2003 Ken Y. Clark , # darren chamberlain , @@ -40,7 +40,7 @@ producer. use strict; use vars qw[ $DEBUG $WARN $VERSION ]; -$VERSION = sprintf "%d.%02d", q$Revision: 1.20 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.21 $ =~ /(\d+)\.(\d+)/; $DEBUG = 1 unless defined $DEBUG; use SQL::Translator::Schema::Constants; @@ -120,7 +120,7 @@ my %reserved = map { $_, 1 } qw[ UNION UNIQUE USER USING VERBOSE WHEN WHERE ]; -my $max_id_length = 30; +my $max_id_length = 62; my %used_identifiers = (); my %global_names; my %unreserve;