Skip to content

Commit a214737

Browse files
committed
Fix enum column with value "inf" that is expanded to the word "Infinity". Thanks to nbromage for the report.
1 parent 85de3dc commit a214737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Ora2Pg.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14673,7 +14673,7 @@ sub hs_cond
1467314673
{
1467414674
my $hs={};
1467514675
$hs->{geometry} = $src_data_types->[$idx] =~ /SDO_GEOMETRY/i ? 1 : 0;
14676-
$hs->{isnum} = $data_types->[$idx] !~ /^(json|char|varchar|date|time|text|bytea|xml|uuid|citext)/i ? 1 :0;
14676+
$hs->{isnum} = $data_types->[$idx] !~ /^(json|char|varchar|date|time|text|bytea|xml|uuid|citext|enum)/i ? 1 :0;
1467714677
$hs->{isdate} = $data_types->[$idx] =~ /^(date|time)/i ? 1 : 0;
1467814678
$hs->{raw} = $src_data_types->[$idx] =~ /RAW/i ? 1 : 0;
1467914679
$hs->{clob} = $src_data_types->[$idx] =~ /CLOB/i ? 1 : 0;

0 commit comments

Comments
 (0)