diff --git a/sqlserver2pgsql.pl b/sqlserver2pgsql.pl index 2d815f4..4b71193 100755 --- a/sqlserver2pgsql.pl +++ b/sqlserver2pgsql.pl @@ -90,6 +90,7 @@ sub parse_conf_file 'validate constraints' => 'validate_constraints', 'sort size' => 'sort_size', 'use pk if possible' => 'use_pk_if_possible', + ); # Open the conf file or die @@ -182,7 +183,9 @@ sub add_cast 'varbinary' => 'bytea', 'money' => 'numeric', 'smallmoney' => 'numeric', - 'uniqueidentifier' => 'uuid',); + 'uniqueidentifier' => 'uuid', + 'xml' => 'xml', + 'geography' => 'point'); # Types with no qualifier, and no point in putting one my %unqual = ('bytea' => 1);