78 Commits

Author SHA256 Message Date
Dominique Leuenberger
4a7ab69260 Accepting request 1232872 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1232872
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=25
2024-12-20 22:11:46 +00:00
Emiliano Langella
f56ee3dd2c - Update to version 4.14.1+git0.48e67e7:
* prepare for 4.14.1
  * introduce new github workflows
  * Update README.asciidoc
  * fix regress tests on msvc
  * DiffUtils from gnuwin32 are necessary for ninja test on msvc
  * info about using meson
  * fix meson.build for msvc
  * support for meson

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=73
2024-12-20 16:28:27 +00:00
Ana Guerrero
13dabfde68 Accepting request 1226456 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1226456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=24
2024-11-26 19:56:16 +00:00
Emiliano Langella
83f957b50f - Update to version 4.14.0+git0.f0ecbd3:
* prepare for 4.14.0
  * prepare for 4.13.6
  * remove invalid alternative results of dbms_random test
  * fix dbms_random test for pg 12
  * fix error when orafce's triggers was executed on table with dropped columns
  * update year in info comment
  * fix white chars
  * Oracle does switch of low, high when low is higher than high arg of dbms_random.value. Do this in orafce too. Some cleaning in related regress tests. Attention: this change breaks alternative expected results.
  * regress test for new nvl function
  * fix Makefile and return type previously added nvl function
  * Add support to nvl(double precision, integer) and to_date(integer, text).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=71
2024-11-26 09:24:03 +00:00
Ana Guerrero
7bbda78bc9 Accepting request 1217062 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1217062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=23
2024-10-23 19:10:04 +00:00
Emiliano Langella
5cc30880a4 - Update to version 4.13.5+git0.ab95f82:
* prepare for 4.13.5
  * export orafce_sys_extract_utc and orafce_sys_extract_utc_oracle_date for win build
  * With Oracle passing en empty string to the to_date(txt, fmt) function returns NULL whereas PostgreSQL returns '0001-01-01 BC'. This true whatever is the format passed as second argument. Change the behavior of function to_date(txt, fmt) to mimic Oracle.

- Update to version 4.13.4+git0.8f3f211:
  * prepare for 4.13.4
  * fix update script from 4.12 to 4.13
  * prepare for 4.13.3
  * umask is usually entered as octec number, then read it as octec number

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=69
2024-10-22 15:18:31 +00:00
19e2cf65c3 - Update to version 4.13.4+git0.8f3f211:
* prepare for 4.13.4
  * fix update script from 4.12 to 4.13

- Update to version 4.13.3+git0.0bf0f15:
  * prepare for 4.13.3
  * umask is usually entered as octec number, then read it as octec number

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=68
2024-10-15 12:22:16 +00:00
29cef8327b - enable pg17
- Update to version 4.13.2+git0.f8f8700:
  * prepare for 4.13.2
  * fix missing update of control file and regress tests
  * Fix description of GUC orafce.varchar2_null_safe_concat
  * Fix description of GUC orafce.varchar2_null_safe_concat
  * fix regress tests
  * Update README.asciidoc
  * Fix documentation formatting.
  * Add description of to_date(text,text) function and the error reported due to Oracle bug.
  * Update regression test result with error message change.
  * Raise an error when Oracle's to_date() bugs are reached. This concern dates before 1582-10-05 ('J2299159') usinf the 'J' format and dates before 1100-03-01 that cannot be verified due to a bug in Oracle.
  * remove obsolete sql signature of dbms_alert.defered_signal
  * update NEWS
  * Remove the BC part of the Oracle like Julian Day date
  * Fix wrong number of days add to julian day in to_char(text, text) function and add pg_catalog FQDN to the to_date() builtin function called. Add regression test.
  * remove obsolete file
  * Fix TO_DATE(text, text) function with the 'J' (Julian day) formatting. For Oracle this is the number of days since January 1, 4712 BC whereas for PostgreSQL this is the number of days since November 24, 4714 BC.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=67
2024-09-28 00:32:09 +00:00
Ana Guerrero
46541fcff0 Accepting request 1203572 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1203572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=22
2024-09-25 19:55:21 +00:00
Emiliano Langella
4254ef72ec - Update to version 4.13.0+git3.25d74aa:
* Fix description of GUC orafce.varchar2_null_safe_concat
  * Fix description of GUC orafce.varchar2_null_safe_concat
  * fix regress tests
  * Update README.asciidoc
  * Fix documentation formatting.
  * Add description of to_date(text,text) function and the error reported due to Oracle bug.
  * Update regression test result with error message change.
  * Raise an error when Oracle's to_date() bugs are reached. This concern dates before 1582-10-05 ('J2299159') usinf the 'J' format and dates before 1100-03-01 that cannot be verified due to a bug in Oracle.
  * remove obsolete sql signature of dbms_alert.defered_signal
  * update NEWS
  * Remove the BC part of the Oracle like Julian Day date
  * Fix wrong number of days add to julian day in to_char(text, text) function and add pg_catalog FQDN to the to_date() builtin function called. Add regression test.
  * remove obsolete file
  * Fix TO_DATE(text, text) function with the 'J' (Julian day) formatting. For Oracle this is the number of days since January 1, 4712 BC whereas for PostgreSQL this is the number of days since November 24, 4714 BC.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=65
2024-09-25 12:43:46 +00:00
Ana Guerrero
1078bd92cb Accepting request 1201373 from server:database:postgresql
- disable pg11 builds as we will remove the EOL package soon

OBS-URL: https://build.opensuse.org/request/show/1201373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=21
2024-09-16 15:45:26 +00:00
4bc5a99e5c disable pg11 builds as we will remove the EOL package soon
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=63
2024-09-09 02:02:00 +00:00
Dominique Leuenberger
94a017fdb1 Accepting request 1196440 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1196440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=20
2024-08-28 19:33:03 +00:00
Emiliano Langella
0c314eedb5 - Update to version 4.11.0+git0.72e1417:
* - refresh sql parser - fix warning: no previous declaration for ‘orafce_sql_yynerrs’ [-Wmissing-variable-declarations]
  * fix format doc
  * fix format doc
  * fix format doc
  * fix sys_extract_utc calculation for pg12
  * regress tests for sys_extract_utc
  * fix another warnings related to master - after drop support for pg12, the code for pipe and alert needs refactoring
  * fix warnings related to master build
  * fix build pg12
  * support of sys_extract_utc function

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=61
2024-08-28 09:42:00 +00:00
Ana Guerrero
a84ed2bbca Accepting request 1178357 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1178357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=19
2024-06-04 10:51:14 +00:00
Emiliano Langella
dc4283e9ff Accepting request 1178285 from home:emilianolangella
- Update to version 4.10.3+git0.e050dd6:
  * prepare for 4.10.3
  * security check can be ignored when the value is configured by ALTER SYSTEM, and in reload the system is not in transactional state. fix #270

OBS-URL: https://build.opensuse.org/request/show/1178285
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=59
2024-06-03 15:10:36 +00:00
Ana Guerrero
f4e52173ba Accepting request 1176510 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1176510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=18
2024-05-24 17:51:43 +00:00
Emiliano Langella
4c1614d0fa Accepting request 1176507 from home:emilianolangella
- Update to version 4.10.2+git0.8d10ace:
  * prepare for 4.10.2
  * When load of orafce was triggered by using some orafce's function by nonprivileged user, then the check orafce_umask_check_hook fails and breaks loading of Orafce. This fix disable check in initialization time when orafce_umask is set to default value (so the check can be disabled).
  * prepare for 4.10.1
  * regress tests for issues #266 and #267
  * fix obsolete (and broken) implementation of dbms_assert.qualified_sql_name
  * fix not correct test of identifier validity in dbms_assert.simple_sql_name
  * Add an alternative output for test dbms_random (Illumos)

OBS-URL: https://build.opensuse.org/request/show/1176507
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=57
2024-05-23 15:24:26 +00:00
Ana Guerrero
cb13297f12 Accepting request 1170706 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1170706
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=17
2024-04-30 15:26:47 +00:00
Emiliano Langella
593f0af48d Accepting request 1170705 from home:emilianolangella
- Update to version 4.10.0+git0.cfdcdf2:
  * remove whitechar
  * Allow to set umask for utl_file.fopen by setting orafce.umask. This setting is allowed only for user with rights of role orafce_set_umask.

OBS-URL: https://build.opensuse.org/request/show/1170705
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=55
2024-04-29 08:33:28 +00:00
Ana Guerrero
255aec8ffb Accepting request 1166827 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1166827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=16
2024-04-11 17:41:48 +00:00
Emiliano Langella
12f2d9241d Accepting request 1166826 from home:emilianolangella
- Update to version 4.9.4+git0.6f3b83a:
  * prepare for 4.9.4
  * after any fclose call, the pointer FILE should not be used ever
  * after any fclose call, the pointer FILE should not be used ever

OBS-URL: https://build.opensuse.org/request/show/1166826
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=53
2024-04-11 10:49:16 +00:00
Dominique Leuenberger
5b748099bc Accepting request 1155895 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1155895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=15
2024-03-07 17:30:56 +00:00
Martin Pluskal
cc9581bc11 Accepting request 1155886 from home:emilianolangella
- Update to version 4.9.3+git0.6adbd66:
  * fix broken handling null in dbms_sql.column_value

OBS-URL: https://build.opensuse.org/request/show/1155886
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=51
2024-03-07 12:50:13 +00:00
Ana Guerrero
536bdd659e Accepting request 1145078 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1145078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=14
2024-02-08 18:02:58 +00:00
Emiliano Langella
5ce1f128d2 Accepting request 1145077 from home:emilianolangella
- Update to version 4.9.2+git0.17c9ce4:
  * prepare for 4.9.2
  * Update the usage example for DBMS_OUTPUT package.
  * fix memory issues in plvlex.token function
  * fix sqlscanner typecast has not assigned yylval.val.str field
  * should not to crash, when we try to read column without data
  * fix regress tests
  * dont't try to free byref null variable
  * result_cxt schema can be used only after successfull execution #254 (second part)
  * fix crash of dbms_sql.execute when bound array variable is NULL #254
  * added an alternative output for test dbms_random (Windows)

OBS-URL: https://build.opensuse.org/request/show/1145077
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=49
2024-02-08 08:51:25 +00:00
Ana Guerrero
1d03f3d056 Accepting request 1142206 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1142206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=13
2024-01-29 21:32:26 +00:00
Emiliano Langella
c7dbd3a259 Accepting request 1142205 from home:emilianolangella
- Update to version 4.9.1+git0.1071eb6:
  * prepare for 4.9.1
  * fix white spaces in regress tests
  * fix formatting issues from previous commit
  * dbms_random.string Enhancement #252

OBS-URL: https://build.opensuse.org/request/show/1142205
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=47
2024-01-29 09:59:59 +00:00
Dominique Leuenberger
416aafed34 Accepting request 1136070 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1136070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=12
2024-01-03 11:29:24 +00:00
Emiliano Langella
8aa65b1c84 Accepting request 1136069 from home:emilianolangella
- Update to version 4.9.0+git0.18d82db:
  * prepare for 4.9.0
  * Fix REGEXP_COUNT and REGEXP_SUBSTR function to have the same behavior than Oracle with newline characters and the use of dot in the pattern.
  * Added a test case about dbms_sql.debug_cursor
  * don't try to show content of variable when it is null. fix issue #247
  * mark some func parallel safe
  * When third argument of substr function is zero, then oracle returns null, but orafce returns empty string. This commit forces oracle's behaviour by default, but allows (by compatibility option orafce.using_substring_zero_width_in_substr set original orafce's behaviour. fix issue #240
  * copy to_char(text) from orafce--4.7--4.8.sql to orafce--4.8.sql
  * mark some func parallel safe; fix makefile
  * add orafce--4.8.sql (rename orafce--4.7.sql)
  * add func: to_char(text)
  * mark lpad, rpad, to_char, to_number parallel safe
  * mark btrim,ltrim,rtrim parallel(because not support postgres version < 9.6, so directly change it)
  * doesn't support postgresql extensions
  * Create c-cpp.yml

OBS-URL: https://build.opensuse.org/request/show/1136069
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=45
2024-01-02 08:27:56 +00:00
Ana Guerrero
857d999b44 Accepting request 1117596 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1117596
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=11
2023-10-13 21:15:20 +00:00
Emiliano Langella
f9868803a4 Accepting request 1117595 from home:emilianolangella:branches:orafce
- Update to version 4.7.0+git1.fca4108:
  * changes related to msvc 2019 build
  * remainder function should be marked STRICT (#225)

OBS-URL: https://build.opensuse.org/request/show/1117595
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=43
2023-10-13 07:55:55 +00:00
ecf8f1db2c - enable pg 16
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=42
2023-09-28 21:00:30 +00:00
Ana Guerrero
157de1f633 Accepting request 1113379 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1113379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=10
2023-09-25 18:03:48 +00:00
Emiliano Langella
dbec564ddd Accepting request 1113378 from home:emilianolangella:branches:orafce
- Update to version 4.6.1+git0.8785767:
  * prepare for 4.6.1
  * return back dbms_alert_defered_signal header necessary for upgrade - #231

OBS-URL: https://build.opensuse.org/request/show/1113378
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=40
2023-09-25 08:12:53 +00:00
Ana Guerrero
4b237331c8 Accepting request 1109734 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1109734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=9
2023-09-08 19:16:19 +00:00
Emiliano Langella
0c597d79f3 Accepting request 1109732 from home:emilianolangella:branches:orafce
- Update to version 4.6.0+git0.6020b1e:
  * fix the comment error
  * Fix a condition to make code reachable
  * fix regress tests on mswin
  * remove white chars
  * describe changes in dbms_alert

OBS-URL: https://build.opensuse.org/request/show/1109732
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=38
2023-09-08 14:06:50 +00:00
Dominique Leuenberger
0d4c8d9d6c Accepting request 1102645 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1102645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=8
2023-08-07 13:29:23 +00:00
Emiliano Langella
44462d3cab Accepting request 1102644 from home:emilianolangella:branches:orafce
- Update to version 4.5.0+git8.b3ad258:
  * Partial rewriting of dbms_pipe. Now, the synchronization is based on signals instead short sleeping.

OBS-URL: https://build.opensuse.org/request/show/1102644
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=36
2023-08-07 07:53:19 +00:00
Dominique Leuenberger
c4d827ccb1 Accepting request 1097879 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1097879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=7
2023-07-10 14:40:08 +00:00
Emiliano Langella
db609806d1 Accepting request 1097878 from home:emilianolangella:branches:orafce
- Update to version 4.4.0+git0.eb5513d:
  * update version info and year
  * regexp_x functions should be immutable

OBS-URL: https://build.opensuse.org/request/show/1097878
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=34
2023-07-10 07:06:25 +00:00
Dominique Leuenberger
940c28fd3a Accepting request 1090776 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1090776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=6
2023-06-05 16:06:56 +00:00
Emiliano Langella
a4eaedc720 Accepting request 1090774 from home:emilianolangella:branches:orafce
- Update to version VERSION_4.3.0+git0.fac8b9c:
  * fix regress test for dbms_random.string
  * add chars '\' and '~' to list of printable chars for function dbms_random.string
  * fix dbms_random should not be immutable (Issue #222)

OBS-URL: https://build.opensuse.org/request/show/1090774
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=32
2023-06-04 20:26:32 +00:00
Dominique Leuenberger
9b40ad05d9 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=5 2023-05-01 16:51:38 +00:00
OBS User buildservice-autocommit
6355e48d8b Updating link to change in openSUSE:Factory/orafce revision 5
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=a91db0acce07d779eb4f8c83448db804
2023-05-01 16:51:38 +00:00
OBS User buildservice-autocommit
194d23db1b Accepting request 1083867 from server:database:postgresql
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/1083867
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=31
2023-05-01 16:51:38 +00:00
Emiliano Langella
0f9f7343ed Accepting request 1083866 from home:emilianolangella:branches:orafce
- Update to version 4.2.6+git0.86d7f4c:
  * prepare for 4.2.6
  * fix corner case of instr function (be fully compatible with Oracle) see #221
  * prepare for 4.2.5
  * fix copy/paste bug
  * use MoveFileEx function instead replace function on win32

OBS-URL: https://build.opensuse.org/request/show/1083866
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=30
2023-05-01 13:59:26 +00:00
Dominique Leuenberger
4164d12f15 Accepting request 1076778 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1076778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=4
2023-04-03 15:45:45 +00:00
Emiliano Langella
9a906fb870 Accepting request 1076777 from home:emilianolangella:branches:orafce
- Update to version 4.2.4+git0.2499240:
  * prepare for 4.2.4
  * fix issue #218
  * prepare for 4.2.3
  * completation of support unicode API for IO operation on WIN32
  * use wide char file API for win
  * prepare for 4.2.2
  * win win32 build

- Update to version 4.2.1+git0.82ab40c:
  * prepare for 4.2.1
  * fix build Postgres 15
  * update copyright year
  * formmatting, removing white spaces
  * typo
  * update copyright year
  * Use function _wfopen on WIN32 platform instead fopen. It should to work with file names where are used not ANSI chars.
  * fix PostgreSQL 15 build
  * fix build for PostgreSQL 16
  * Update README.asciidoc
  * possibility to use gen_random_uuid for making result in sys_guid function
  * fix build for all supported pg releases
  * implementation of oracle.sys_guid() based on uuid-ossp

OBS-URL: https://build.opensuse.org/request/show/1076777
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=28
2023-04-02 20:37:25 +00:00
Dominique Leuenberger
db9f49ceed Accepting request 1071441 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1071441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orafce?expand=0&rev=3
2023-03-14 17:17:25 +00:00