Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion sqlserver2pgsql.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down