• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix typo

Make ::xo::db::require package a shorthand for ::xo::library require, which will remember the dependency

This will also make sure that dependent files are reloaded when a dependency is reloaded

prefer global variable over proc

  1. … 6 more files in changeset.
improve comment

Prefer "::acs::dc call ..." over "::xo::db::sql::..."

Use the common new acs interface rather than the xotcl-core variant.

Goal should be on the medium time range to replace all of the

"::xo::db::sql::*" interface.

  1. … 2 more files in changeset.
Fixes for Oracle 19c: boolean and timestamp handling, *lobs

- fix boolean permission query

- function "now()" does not exist, use "CURRENT_TIMESTAMP" instead

- revived blob and clob handling in "xo::dc dml" since this is needed

for updating

- modernize Oracle offset/limit handling

- added missing "-dbn" attributes for Oracle xo::dc calls

  1. … 2 more files in changeset.
Fixes for Oracle 19c: consistenly rely on uppercasing of the schema names in the called functions

Fixes for Oracle 19c:

- added special rules for DML differences in Oracle ("MODIFY" option in ALTER TABLE)

- fixed call of ns_pg_bind in Oracle applications

- fixed call of an SQL function returning a table

Improved startup time (of server, of threads) by using nsv_dict when available

During definition of attributes, the xo-db inteface checks whether

the db attributes managed by xotcl are in sync with the actual database.

This was done so far by a couple of small database query. When nsv_dict

is available, it can be used for quickly checking those values.

make function private

improved prepared-statement handling

- avoid separate SQL statement for testing, whether prepared statement

exists already in the SQL session.

- use true SQL session-id (obtained via "ns_pg pid") when available

- improve source code documentation

deactive callback definition to avoid calls of deprecated xo::parameter functions

  1. … 1 more file in changeset.
modernize code

simplify code (allow warning, although i am not fully convinced, this is a good idea)

  1. … 1 more file in changeset.
move documentation to the generic level, don't make methods public, which are intentionally non-public

Improve doc

"timestamp with time zone" is the name of a DBMS datatype, needs to be spelled this way

improve spelling

  1. … 42 more files in changeset.
improve spelling

  1. … 1 more file in changeset.
whitespace changes

small performance improvement

replace call to deprecated function

Fix typo

make end of resub options explicit

  1. … 12 more files in changeset.
Added support for row-level lock modes of PostgreSQL; used in "save" method of cr-items

This change is necesary to avoid potential dead-locks in concurrent "save" operations

  1. … 1 more file in changeset.
improve spelling

  1. … 1 more file in changeset.
improve spelling

  1. … 5 more files in changeset.
reduce usage of idiom "select 1 from dual where exists" when not necessary

Replace limit with portable idiom

Fix oracle query as for most recent version limit is not supported