Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: postgresql15-orafce | Distribution: openSUSE Tumbleweed |
Version: 4.10.3+git0.e050dd6 | Vendor: openSUSE |
Release: 1.1 | Build date: Mon Jun 3 09:22:01 2024 |
Group: Productivity/Databases/Tools | Build host: reproducible |
Size: 582680 | Source RPM: postgresql15-orafce-4.10.3+git0.e050dd6-1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/orafce/orafce | |
Summary: Implementation of some Oracle functions into PostgreSQL |
The goal of this project is implementation some functions from Oracle database. Some date functions (next_day, last_day, trunc, round, ...) are implemented now. Functionality was verified on Oracle 10g and module is useful for production work.
MIT
* Mon Jun 03 2024 emiliano.langella@suse.com - 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 * Thu May 23 2024 emiliano.langella@suse.com - 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) * Mon Apr 29 2024 emiliano.langella@suse.com - 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. * Thu Apr 11 2024 emiliano.langella@suse.com - 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 * Thu Mar 07 2024 emiliano.langella@suse.com - Update to version 4.9.3+git0.6adbd66: * prepare for 4.9.3 * fix regress tests * fix broken handling null in dbms_sql.column_value * fix build for master (pg17+) * possibility to raise error inside trigger functions * fix regress test on fc40 * Thu Feb 08 2024 emiliano.langella@suse.com - 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) * Mon Jan 29 2024 emiliano.langella@suse.com - 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 * Tue Jan 02 2024 emiliano.langella@suse.com - 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 * Fri Oct 13 2023 emiliano.langella@suse.com - Update to version 4.7.0+git1.fca4108: * changes related to msvc 2019 build * remainder function should be marked STRICT (#225) * Thu Sep 28 2023 Marcus Rueckert <mrueckert@suse.de> - enable pg 16 * Mon Sep 25 2023 emiliano.langella@suse.com - Update to version 4.6.1+git0.8785767: * prepare for 4.6.1 * return back dbms_alert_defered_signal header necessary for upgrade - #231 * Fri Sep 08 2023 emiliano.langella@suse.com - 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 * Mon Aug 07 2023 emiliano.langella@suse.com - Update to version 4.5.0+git8.b3ad258: * better comment * fix issue reported by cppcheck, all tests passed * test passed except pg 17 * fix * code cleaning * formatting * use condition variable for synchronization of dbms_alert waiting on signal * formatting * typo * prepare for 4.5.0 * detect different identity of pipe after wakeup * fix issues reported by cppcheck * decrease timeout as protection against deadlocks * using ConditionVariables for synchronization dbms_pipe writer and dbms_pipe reader * fix isses reported by cppcheck * fix issues reported by cppcheck * Mon Jul 10 2023 emiliano.langella@suse.com - Update to version 4.4.0+git0.eb5513d: * update version info and year * regexp_x functions should be immutable * Thu Jun 01 2023 emiliano.langella@suse.com - 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) * Mon May 01 2023 emiliano.langella@suse.com - 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 * Sun Apr 02 2023 emiliano.langella@suse.com - 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 * Tue Mar 14 2023 emiliano.langella@suse.com - 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 * Tue Mar 14 2023 Martin Pluskal <mpluskal@suse.com> - 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 * Fri Feb 10 2023 Emiliano Langella <emiliano.langella@suse.com> - Added "Name:" tag. * Tue Jan 31 2023 Marcus Rueckert <mrueckert@suse.de> - remove pg 10 support * Tue Jan 31 2023 Marcus Rueckert <mrueckert@suse.de> - enable pg 15 * Tue Jan 31 2023 mrueckert@suse.de - Update to version 4.1.1+git0.519b5b5: * prepare for 4.1.1 * build on master (16) branch * use adv lock to synchronize start of pipe and alert tests * add connect by level < num in migration docs * Hierarchical Query identifys the leaves * Update the connect_by_root example, for better semantics * fix: CONNECT_BY_ROOT in hierarchical query is converted to WITH RECURSIVE syntax * the table [200~utl_file.utl_file_dir is dumpable * fix compilation against pg master * prepare for 4.0.2 * fix -wextra warnings * fix shadowed variable varning * fix msvc build for PostgreSQL 14 * fix build for pg16 * fix META file and prepare for 4.0.1 * to_multi_byte and to_single_byte support euc_cn(gb2312) * add oracle sql migration : CONNECT_BY_ROOT * fix oracle connect by * prepare for 4.0.0 release * remove obsolete ref on orafce_sql * rename shadow variable * initial merge of dbms_sql from orafce_sql * other cleaning after removing support for unsupported pg releases * increase version * remove support for PostgreSQL 10 and older * Fix database creation during installchecks for ICU cluster * fix dbms_output.serveroutput(true) clear the buffer.It conforms to the features of oracle. * prepare for 3.25.1 * fix calculation of plvstr.is_prefix for negative numeric values - see issue #198 * fix for pre 14 releases * doc and regress tests * remove useless func decl * support for older releases * initial implementation * initial * fix build against master (16) branch * wrap possible unsupported DDL to dynamic SQL * specify schema inside definition function tanh * only set editorconfig * prepare for 3.24.4 * remove redundant ALTER FUNCTION #191 * prepare for 3.24.3 * PostgreSQL older than 12 doesn't allow ALTER FUNCTION pg_catalog.x SET SCHEMA oracle. Only dirty way by direct modification of system catalogue is possible. see issue #190 * prepare for 3.24.2 * fix missing oracle.mod functions in update scripts * prepare for 3.24.1 * fix regress nlssort test for PostgreSQL 9.5 without \if command * Fix race condition during initialization in ora_lock_shmem. * nlssort: Add a missing call to PG_RE_THROW. * Limit nlssort test to Linux/glibc systems with en_US.utf8 installed. * NEWS * set storage for varchar2 and nvarchar2 to extended strategy * prepare for 3.23 * fix broken calculation in plvdate_isleapyear function #184 * fix support for pg9.5, fix regress tests for older releases * prepare for 3.22.1 * Fix read past the end of string in to_sigle_byte(). * Fix dbms_utility.get_time() to use the full range of int32. * fix readme * prepare for 3.22.0 * move dbobjects from public and pg_catalog schemas to oracle schema * moving objects from public and pg_catalog to oracle schema * move RequestAddinShmemSpace to shmem_request_hook for PostgreSQL 15 * Update sql_migration06.md * Restore sqlparse.c and sqlparse.h * Undo comment * Add comment * Add Parallel safe to mod function * Bug fix * Add mod function for Oracle compatibility * Fix typos and spelling in docs and error messages * prepare for 3.21.1 * fix mswin build - regexp functions was not really marked as dllexport due missing include of builtins.h * remove empty line * fix of some compatibility issues * REG_NOSUB is working only on PostgreSQL 15 * workable release for PostgreSQL 15 * modification for compotibility with orafce.regexp_instr * backport regexp_instr from PostgreSQL 15, use C version instead PLpgSQL for better possibilities of usage regexp API * prepare for 3.20.0 * Fix regexp_instr() function with occurrence when the same value matching a pattern is found at several place in the string. * signature of nvl2 function is enhanced to "any", anyelement, anyelement. After this change, the behavior is more close to Oracle. Unfortunatelly - this change can break extension update for some customers that uses nvl2 in views. * support negative start argument for function substrb. Originally orafce used buildin bytea substr function. Now it recalculate start argument. see issue #172 * prepare for 3.19 * Allow empty string on input of functions to_number and to_date. In this case returns NULL. * remove white spaces * replace obsolete CSTRING macro by text_to_csring function * prepare for 3.18.1 * fix - badly handled fn_extra in oracle.greatest(least) function * prepare for 3.18.0 * Update README.asciidoc * Update README.asciidoc * use older API for iteration over an array. Now, oracle.greatest and oracle.least are working on all supported releases * remove negative tests related to orafce.greatest because: a) error message is different on supported pg versions, b) the coverage and benefit of these tests is low * remove two lines from regress tests of greatest due dependency on used collate * Add documentation for greatest and least functions. * Update upgrade extension file with the smallint addition. * Add greatest/least SQL redefinition for smallint Add regression tests fot the two functions. * Oracle functions LEAST and GREATEST return NULL if at least one of the parameters is NULL. This is not the case for the PostgreSQL equivalent functions which only return NULL when all the parameters are NULL. This patch creates the two functions in the oracle schema to have the same behavior than in Oracle. * Minor grammatical fix to README.asciidoc * fix typo in charpad.c * fix typo in orafce--3.17.sql * Update Orafce_Documentation_05.md * Catch dbms_random.string() output variation on Windows * Tue Nov 30 2021 Marcus Rueckert <mrueckert@suse.de> - enable pg 13 and 14 * Tue Nov 30 2021 mrueckert@suse.de - Update to version 3.17.0+git12.e9ab8a3: * Fix some typos in plunit.c and plvdate.c. * Fix a non-standard function declaration. * pg_nextpower2_32 is available for pg13+| * fix typo in plvdate.c * fix typo in alert.c * Improve the place that double the size of a buffer * Fix access privileges of utl_file.tmpdir() * prepare for 3.17.0 * This patch reproduce the same behavior of the regexp_* function with null input. * Fix version number in install script. * Remove duplicate variable declarations * Allow even longer runtimes in DBMS_UTILITY.GET_TIME test * prepare for 3.16.2 * fix build for msvc * prepare for 3.16.1 * sql/dbms_utility.sql: Allow longer test runtime * fix some shared memory leaks, reduce an possibility to raise an error 'lock requested error' by cleaning locks (these locks are not Postgres's locks) in dbms_alert_removeall and by triggering cleaning shared memory from locks related to closed processes when there are not free locks - per #PR 140 reported by @rbapin * prepare for 3.16.0 * rename pipe type to orafce_pipe due conflict with pipe function from unistd.h * ensure public access to public schema * add missing sql file for 3.16 * Add DBMS_UTILITY.GET_TIME function, it returns the current time in 100th's of a second from a point in time in the past. This function is used for determining elapsed time. This function is widely used in some Oracle installation for timing of functions or statements. * fix warning on MSVC * prepare for 3.15.1 * Remove reference to pg_enc2name_tbl variable. It is not available on MSVC, and for this functionality it is not necessary * prepare for 3.15.0 * function regexp_match cannot be used because it is available from Postgres 10 * Add Oracle regexp_replace() function which supports start position and occurrence. It correspond to the Oracle behavior and consist in plpgsql functions based on PG regexp_matches() and regexp_replace(). All details of the implementation is explained in the documentation. Also include in this patch also include regression tests for regexp_replace() including the Oracle queries and results in comment. * just reformatting * just reformatting * Remove wrong and unused code. * Apply orafce rule for assignment on remaining call to position() and length. * Use better style for assignment instead of pseudo query. * - Improve performances by replacing SELECT ... INTO syntax with := - Replace call to regexp_match() by regexp_matches() to support PostgreSQL 9.5 and 9.6. - Remove obsolete orafce--3.14.sql file - Update regression test to disable CONTEXT trace. * Add Oracle regexp_like(), regexp_count(), regexp_instr() and regexp_substr() functions. They correspond to the Oracle behavior and consist in plpgsql functions based on PG regexp_matches(). All details of the implementation is explained in the documentation. This patch also include a regression test regexp_func.sql including the Oracle queries and results in comment. * more ilustrative description of msvc project properties * Oracle.sysdate uses time zone stored in GUC orafce.timezone. The setting of configuration value was correct - the global variable orafce_timezone has correct content (it can be checked by SELECT oracle.dbtimezone(). But direct output of this GUC (show orafce.timezone) was broken because the handler of system timezone was used and the statement "show orafce.timezone" did same output like "show timezone", and it is surely wrong. * pre 3.14 changes * When nvarchar2 and varchar2 was introduced, then was not possibility to correctly set protransform column. Orafce used UPDATE of pg_proc table. Unfortunatelly, this new dependency was not coverget by entry in pg_depend. Today this issue breaks binary upgrade. Fix is simple - on new Postgres it uses ALTER FUNCTION SUPPORT, for older releases it tries to fix pg_depend table. * implementation of unistr function * Added ppc64le architecture * Added some transactions behavior differences * Catch dbms_random.string() output variation on big-endian * Fix the wrong filter in oracle.user_tables view in orafce--3.6--3.7.sql. * Update README.asciidoc * Update others.c * Use correct macros to convert between Datums and pointers. * note in readme * prepare for 3.13.4 * forgotten files * prepare for 3.13.3 * enable utf_file on MSWin * cleaning build on MSWin * reduce stack size * minor cleaning * prepare for 3.12 * fix warning for postgres 13 * fix asciidoc format * minor README fix * travis status * PostgreSQL 9.4 is not supported * example to trigger func * fix build and tests for older releases * trigger functions - ensure so only null or only empty string is used * fix: 'if' condition is always true * prepare for 3.11.1 * missing test output file * only PostgreSQL 9.4 and higher are supported * Run the testsuite on travis-ci.org * clean warnings detected by -Wextra * forgot. GRANT * The previous securing of utl_file package required SECURITY DEFINER flags on functions. Using this flag is security risk. Insted using SECURITY DEFINER we allow READ from utl_file.utl_file_dir to PUBLIC. This design has one advantage - the final user can control usage of these function with granting user rights just only on table utl_file.utl_file_dir. * Update README.asciidoc * Update README.asciidoc * Update README.asciidoc * Update README.asciidoc * fix long standing bug - function with access to utl_file_dir should to has security definer flag * fix compilation against Postgres 13 * small fixes and rewrite of utl_file paragraph * the safe dictionary in utl_file package can be identified by name too * Fix doc and comment about months_between returning numeric (not float8). * there are some differences between Oracle and Orafce * fix compilation on PostgreSQL 13 (by removing useless include), fix to_multi_byte('\') * prepare for 3.9.0 * remove extra clean to allow repeateable build without bison * Orafce is licenced under 0-clause BSD licence * polishing licence * use postgres routines for printing float4, float8 values in to_char function (reduce garbage and trailing zeroes) * Tue Nov 30 2021 Marcus Rueckert <mrueckert@suse.de> - remove dead PG versions
/usr/lib/postgresql15/lib64 /usr/lib/postgresql15/lib64/orafce.so /usr/share/doc/packages/postgresql15-orafce /usr/share/doc/packages/postgresql15-orafce/COPYRIGHT.orafce /usr/share/doc/packages/postgresql15-orafce/INSTALL.orafce /usr/share/doc/packages/postgresql15-orafce/NEWS /usr/share/doc/packages/postgresql15-orafce/README.asciidoc /usr/share/postgresql15 /usr/share/postgresql15/extension /usr/share/postgresql15/extension/orafce--3.10--3.11.sql /usr/share/postgresql15/extension/orafce--3.11--3.12.sql /usr/share/postgresql15/extension/orafce--3.12--3.13.sql /usr/share/postgresql15/extension/orafce--3.13--3.14.sql /usr/share/postgresql15/extension/orafce--3.14--3.15.sql /usr/share/postgresql15/extension/orafce--3.15--3.16.sql /usr/share/postgresql15/extension/orafce--3.16--3.17.sql /usr/share/postgresql15/extension/orafce--3.17--3.18.sql /usr/share/postgresql15/extension/orafce--3.18--3.19.sql /usr/share/postgresql15/extension/orafce--3.19--3.20.sql /usr/share/postgresql15/extension/orafce--3.2--3.3.sql /usr/share/postgresql15/extension/orafce--3.20--3.21.sql /usr/share/postgresql15/extension/orafce--3.21--3.22.sql /usr/share/postgresql15/extension/orafce--3.22--3.23.sql /usr/share/postgresql15/extension/orafce--3.23--3.24.sql /usr/share/postgresql15/extension/orafce--3.24--3.25.sql /usr/share/postgresql15/extension/orafce--3.25--4.0.sql /usr/share/postgresql15/extension/orafce--3.3--3.4.sql /usr/share/postgresql15/extension/orafce--3.4--3.5.sql /usr/share/postgresql15/extension/orafce--3.5--3.6.sql /usr/share/postgresql15/extension/orafce--3.6--3.7.sql /usr/share/postgresql15/extension/orafce--3.7--3.8.sql /usr/share/postgresql15/extension/orafce--3.8--3.9.sql /usr/share/postgresql15/extension/orafce--3.9--3.10.sql /usr/share/postgresql15/extension/orafce--4.0--4.1.sql /usr/share/postgresql15/extension/orafce--4.1--4.2.sql /usr/share/postgresql15/extension/orafce--4.10.sql /usr/share/postgresql15/extension/orafce--4.2--4.3.sql /usr/share/postgresql15/extension/orafce--4.3--4.4.sql /usr/share/postgresql15/extension/orafce--4.4--4.5.sql /usr/share/postgresql15/extension/orafce--4.5--4.6.sql /usr/share/postgresql15/extension/orafce--4.6--4.7.sql /usr/share/postgresql15/extension/orafce--4.7--4.8.sql /usr/share/postgresql15/extension/orafce--4.8--4.9.sql /usr/share/postgresql15/extension/orafce--4.9--4.10.sql /usr/share/postgresql15/extension/orafce.control
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Aug 29 00:57:57 2024