Skip to content

Commit

Permalink
Merge pull request #406 from tmaeno/master
Browse files Browse the repository at this point in the history
MINUS in Oracle -> EXCEPT on Postgres
  • Loading branch information
tmaeno authored Sep 10, 2024
2 parents 5cc5a72 + 4ba3ebe commit 27c6f6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PandaPkgInfo.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release_version = "0.3.20"
release_version = "0.3.21"
2 changes: 2 additions & 0 deletions pandaserver/taskbuffer/WrappedCursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def convert_query_in_printf_format(sql, var_dict, sql_conv_map):
sql = re.sub(r"NVL\(", r"COALESCE(", sql, flags=re.IGNORECASE)
# random
sql = re.sub(r"DBMS_RANDOM.value", r"RANDOM()", sql, flags=re.IGNORECASE)
# MINUS
sql = re.sub(r" MINUS ", r" EXCEPT ", sql, flags=re.IGNORECASE)
# GENERATE_SERIES
sql = re.sub(
r"\(SELECT\s+level\s+FROM\s+dual\s+CONNECT\s+BY\s+level\s*<=\s*(:[^ \)]+)\)*",
Expand Down

0 comments on commit 27c6f6d

Please sign in to comment.