Skip to content

Commit

Permalink
Merge pull request #233 from hslightdb/fix_function_attributes
Browse files Browse the repository at this point in the history
mark btrim,ltrim,rtrim parallel
  • Loading branch information
okbob authored Nov 9, 2023
2 parents ba26938 + 330738a commit 63da45d
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ DATA = orafce--4.7.sql\
orafce--4.3--4.4.sql\
orafce--4.4--4.5.sql\
orafce--4.5--4.6.sql\
orafce--4.6--4.7.sql
orafce--4.6--4.7.sql\
orafce--4.7--4.8.sql


DOCS = README.asciidoc COPYRIGHT.orafce INSTALL.orafce
Expand Down
62 changes: 62 additions & 0 deletions orafce--4.7--4.8.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
ALTER FUNCTION oracle.btrim(char) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(char, char) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(char, text) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(char, oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(char, oracle.nvarchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(text) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(text, char) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(text, text) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(text, oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(text, oracle.nvarchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(oracle.varchar2, char) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(oracle.varchar2, text) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(oracle.varchar2, oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(oracle.varchar2, oracle.nvarchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(oracle.nvarchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(oracle.nvarchar2, char) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(oracle.nvarchar2, text) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(oracle.nvarchar2, oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.btrim(oracle.nvarchar2, oracle.nvarchar2) PARALLEL SAFE;

ALTER FUNCTION oracle.ltrim(char, char) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(char, text) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(char, oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(char, oracle.nvarchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(char) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(text, char) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(text, text) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(text, oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(text, oracle.nvarchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(text) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(oracle.varchar2, char) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(oracle.varchar2, text) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(oracle.varchar2, oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(oracle.varchar2, oracle.nvarchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(oracle.nvarchar2, char) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(oracle.nvarchar2, text) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(oracle.nvarchar2, oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(oracle.nvarchar2, oracle.nvarchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.ltrim(oracle.nvarchar2) PARALLEL SAFE;

ALTER FUNCTION oracle.rtrim(char, char) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(char, text) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(char, oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(char, oracle.nvarchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(char) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(text, char) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(text, text) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(text, oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(text, oracle.nvarchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(text) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(oracle.varchar2, char) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(oracle.varchar2, text) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(oracle.varchar2, oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(oracle.varchar2, oracle.nvarchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(oracle.nvarchar2, char) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(oracle.nvarchar2, text) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(oracle.nvarchar2, oracle.varchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(oracle.nvarchar2, oracle.nvarchar2) PARALLEL SAFE;
ALTER FUNCTION oracle.rtrim(oracle.nvarchar2) PARALLEL SAFE;
2 changes: 1 addition & 1 deletion orafce.control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# orafce extension
comment = 'Functions and operators that emulate a subset of functions and packages from the Oracle RDBMS'
default_version = '4.7'
default_version = '4.8'
module_pathname = '$libdir/orafce'
relocatable = false

0 comments on commit 63da45d

Please sign in to comment.