From 09bd4145d7d7b755a96eeb25c6fafb53d18b22e6 Mon Sep 17 00:00:00 2001 From: Harry Date: Tue, 4 Aug 2015 17:36:38 +0300 Subject: [PATCH] Update sqlserver2pgsql.pl --- sqlserver2pgsql.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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);