Skip to content

Commit

Permalink
Add replacement of SDO_CS.TRANSFORM into ST_Transform. Thanks to muke…
Browse files Browse the repository at this point in the history
…sh3388 for the report.
  • Loading branch information
darold committed Dec 1, 2021
1 parent cabafba commit 40969ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Ora2Pg/PLSQL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1946,6 +1946,8 @@ sub replace_sdo_function
$str =~ s/SDO_POINTONSURFACE/ST_PointOnSurface/igs;
$str =~ s/SDO_UNION/ST_Union/igs;
$str =~ s/SDO_XOR/ST_SymDifference/igs;
# SDO_CS.TRANSFORM(geom, srid)
$str =~ s/\bSDO_CS\.TRANSFORM\(/ST_Transform\(/igs;

# Note that with ST_DumpPoints and :
# TABLE(SDO_UTIL.GETVERTICES(C.GEOLOC)) T
Expand Down

0 comments on commit 40969ac

Please sign in to comment.