@@ -439,6 +439,7 @@ sub oracle_init {
439439 $oracle_functions_list_3{'NVL2'}{'regex'} = '\bNVL2\s*\(';
440440 $oracle_functions_list_3{'PERCENT_RANK'}{'regex'} = '\bPERCENT_RANK\s*\(';
441441 $oracle_functions_list_3{'RANK'}{'regex'} = '\bRANK\s*\(';
442+ $oracle_functions_list_3{'REGEXP_LIKE'}{'regex'} = '\bREGEXP_LIKE\s*\(';
442443 $oracle_functions_list_3{'REGR_AVGX'}{'regex'} = '\bREGR_AVGX\s*\(';
443444 $oracle_functions_list_3{'REGR_AVGY'}{'regex'} = '\bREGR_AVGY\s*\(';
444445 $oracle_functions_list_3{'REGR_COUNT'}{'regex'} = '\bREGR_COUNT\s*\(';
@@ -828,8 +829,8 @@ sub oracle_init {
828829 $oracle_functions_list_4{'DUMP'}{'comments'} = q{};
829830 $oracle_functions_list_4{'EMPTY_BLOB'}{'sourcedocumentation'} = 'http://docs.oracle.com/database/121/SQLRF/functions064.htm';
830831 $oracle_functions_list_4{'EMPTY_BLOB'}{'pgdocumentation'} = '';
831- $oracle_functions_list_4{'EMPTY_BLOB'}{'pginstruction'} = '';
832- $oracle_functions_list_4{'EMPTY_BLOB'}{'comments'} = q{};
832+ $oracle_functions_list_4{'EMPTY_BLOB'}{'pginstruction'} = 'No equivalent ';
833+ $oracle_functions_list_4{'EMPTY_BLOB'}{'comments'} = q{The zero length string '' can be used instead on a bytea field };
833834 $oracle_functions_list_4{'EMPTY_CLOB'}{'sourcedocumentation'} = 'http://docs.oracle.com/database/121/SQLRF/functions064.htm';
834835 $oracle_functions_list_4{'EMPTY_CLOB'}{'pgdocumentation'} = '';
835836 $oracle_functions_list_4{'EMPTY_CLOB'}{'pginstruction'} = '';
@@ -1158,9 +1159,9 @@ sub oracle_init {
11581159 $oracle_functions_list_3{'RANK'}{'pginstruction'} = 'rank';
11591160 $oracle_functions_list_3{'RANK'}{'comments'} = q{The Postgresql function does support the `WITHIN GROUP` clause. Needs a similar rewriting as dense_rank.};
11601161 $oracle_functions_list_4{'RAWTOHEX'}{'sourcedocumentation'} = 'http://docs.oracle.com/database/121/SQLRF/functions157.htm';
1161- $oracle_functions_list_4{'RAWTOHEX'}{'pgdocumentation'} = '';
1162- $oracle_functions_list_4{'RAWTOHEX'}{'pginstruction'} = '';
1163- $oracle_functions_list_4{'RAWTOHEX'}{'comments'} = q{};
1162+ $oracle_functions_list_4{'RAWTOHEX'}{'pgdocumentation'} = 'https://www.postgresql.org/docs/current/functions-binarystring.html ';
1163+ $oracle_functions_list_4{'RAWTOHEX'}{'pginstruction'} = 'encode ';
1164+ $oracle_functions_list_4{'RAWTOHEX'}{'comments'} = q{encode(arg, 'HEX') might be used instead };
11641165 $oracle_functions_list_4{'RAWTONHEX'}{'sourcedocumentation'} = 'http://docs.oracle.com/database/121/SQLRF/functions158.htm';
11651166 $oracle_functions_list_4{'RAWTONHEX'}{'pgdocumentation'} = '';
11661167 $oracle_functions_list_4{'RAWTONHEX'}{'pginstruction'} = '';
@@ -1177,6 +1178,10 @@ sub oracle_init {
11771178 $oracle_functions_list_4{'REGEXP_INSTR'}{'pgdocumentation'} = '';
11781179 $oracle_functions_list_4{'REGEXP_INSTR'}{'pginstruction'} = '';
11791180 $oracle_functions_list_4{'REGEXP_INSTR'}{'comments'} = q{};
1181+ $oracle_functions_list_3{'REGEXP_LIKE'}{'sourcedocumentation'} = 'https://docs.oracle.com/database/121/SQLRF/conditions007.htm#SQLRF00501';
1182+ $oracle_functions_list_3{'REGEXP_LIKE'}{'pgdocumentation'} = 'https://www.postgresql.org/docs/current/functions-matching.html';
1183+ $oracle_functions_list_3{'REGEXP_LIKE'}{'pginstruction'} = '~ operator';
1184+ $oracle_functions_list_3{'REGEXP_LIKE'}{'comments'} = q{};
11801185 $oracle_functions_list_4{'REGEXP_REPLACE'}{'sourcedocumentation'} = 'http://docs.oracle.com/database/121/SQLRF/functions163.htm';
11811186 $oracle_functions_list_4{'REGEXP_REPLACE'}{'pgdocumentation'} = 'https://www.postgresql.org/docs/current/static/functions-string.html';
11821187 $oracle_functions_list_4{'REGEXP_REPLACE'}{'pginstruction'} = 'regexp_replace';
0 commit comments