• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
added constraint acs_objects_context_id_ck to avoid certain simple loops on context_ids

    • -1
    • +10
    ./postgresql/acs-objects-create.sql
    • -0
    • +13
    ./postgresql/upgrade/upgrade-5.10.0d30-5.10.0d31.sql
  1. … 1 more file in changeset.
file upgrade-5.10.0d30-5.10.0d31.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.10.0d30-5.10.0d31.sql
add explicit cast to all max_n_rels with value null to increase readability and to ease function disambiguation

    • -6
    • +6
    ./postgresql/test/rel-segments-test-types-create.sql
  1. … 3 more files in changeset.
file upgrade-5.10.0d29-5.10.0d30.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.10.0d29-5.10.0d30.sql
Fix attribute datatype discrepancy

    • -0
    • +9
    ./postgresql/upgrade/upgrade-5.10.0d29-5.10.0d30.sql
  1. … 1 more file in changeset.
white-space changes

    • -84
    • +84
    ./postgresql/utilities-create.sql
add as well support for schema name to util__table_column_exists and util__view_exists

    • -0
    • +65
    ./postgresql/upgrade/upgrade-5.10.0d29-5.10.0d29.sql
address issue #3436: support for schema name in util__table_exists

TODO: Oracle version is missing

    • -0
    • +31
    ./postgresql/upgrade/upgrade-5.10.0d29-5.10.0d29.sql
  1. … 1 more file in changeset.
file upgrade-5.10.0d29-5.10.0d29.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.10.0d29-5.10.0d29.sql
Added index on foreign key column to reduce sequential reads on delete

operations, since the optimizer brain fart ((c)Don Baccus) that existed

17 years ago in pg 7.2 seems to be gone

(https://openacs.org/forums/message-view?message_id=142769)

    • -0
    • +4
    ./postgresql/upgrade/upgrade-5.10.0d27-5.10.0d28.sql
  1. … 1 more file in changeset.
file upgrade-5.10.0d27-5.10.0d28.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.10.0d27-5.10.0d28.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.10.0d27-5.10.0d28.sql
add editor hints, whitespace changes

    • -177
    • +184
    ./postgresql/groups-body-create.sql
    • -63
    • +69
    ./postgresql/site-nodes-create.sql
whitespace changes

    • -148
    • +148
    ./postgresql/groups-body-create.sql
    • -86
    • +85
    ./postgresql/site-nodes-create.sql
- Convert frequenty used functions from plpgsql

to strict and stable SQL functions, which allow

the PostgreSQL more optimizations

* acs_group__member_p/3

* site_node__url/1

- bump version number to 5.10.0d27

    • -17
    • +20
    ./postgresql/groups-body-create.sql
    • -0
    • +59
    ./postgresql/upgrade/upgrade-5.10.0d26-5.10.0d27.sql
  1. … 1 more file in changeset.
file upgrade-5.10.0d26-5.10.0d27.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.10.0d26-5.10.0d27.sql
Attribute discrepancy fix for object_types in OpenACS.

Some attributes are not created for new instances since 2006, but an upgrade

script deleting the already existing ones was never done.

Original datatype change:

https://fisheye.openacs.org/changelog/OpenACS?cs=MAIN%3Avictorg%3A20060727200933

https://github.com/openacs/openacs-core/commit/7e30fa270483dcbc866ffbf6f5cf4f30447987cb

    • -0
    • +57
    ./oracle/upgrade/upgrade-5.10.0d25-5.10.0d26.sql
    • -0
    • +60
    ./postgresql/upgrade/upgrade-5.10.0d25-5.10.0d26.sql
  1. … 1 more file in changeset.
file upgrade-5.10.0d25-5.10.0d26.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.10.0d25-5.10.0d26.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.10.0d25-5.10.0d26.sql
Add oracle upgrade logic for previous attribute datatype discrepancy package upgrades, and fix typo in postgres upgrade script

    • -0
    • +18
    ./oracle/upgrade/upgrade-5.10.0d24-5.10.0d25.sql
    • -1
    • +1
    ./postgresql/upgrade/upgrade-5.10.0d24-5.10.0d25.sql
  1. … 1 more file in changeset.
file upgrade-5.10.0d24-5.10.0d25.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.10.0d24-5.10.0d25.sql
Fix attribute datatype discrepancy, introduced in 2006 but never fixed for already existing instances.

Original datatype change:

https://fisheye.openacs.org/changelog/OpenACS?cs=MAIN%3Avictorg%3A20060727200933

https://github.com/openacs/openacs-core/commit/7e30fa270483dcbc866ffbf6f5cf4f30447987cb

    • -0
    • +18
    ./postgresql/upgrade/upgrade-5.10.0d24-5.10.0d25.sql
  1. … 3 more files in changeset.
file upgrade-5.10.0d24-5.10.0d25.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.10.0d24-5.10.0d25.sql
Index acs_object's creation and modification date

    • -0
    • +4
    ./postgresql/upgrade/upgrade-5.10.0d23-5.10.0d24.sql
  1. … 1 more file in changeset.
file upgrade-5.10.0d23-5.10.0d24.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.10.0d23-5.10.0d24.sql
make return arguments explicit

    • -1
    • +1
    ./postgresql/upgrade/upgrade-5.10.0d20-5.10.0d21.sql
Whitespace cleanup

    • -68
    • +66
    ./postgresql/groups-body-create.sql
Redefine acs_group__member_p so that direct membership is checked in a way that is uniform with that of cascading membership: without any permission check (fixes acs_subsite_check_composite_group automated test)

    • -0
    • +35
    ./postgresql/upgrade/upgrade-5.10.0d22-5.10.0d23.sql
  1. … 1 more file in changeset.
file upgrade-5.10.0d22-5.10.0d23.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.10.0d22-5.10.0d23.sql
Define an acs_object schema and use it to redefine acs_object__name using dot notation

Goal is to further reduce code divergency between Oracle and Postgres

    • -7
    • +27
    ./postgresql/acs-objects-create.sql
    • -0
    • +76
    ./postgresql/upgrade/upgrade-5.10.0d21-5.10.0d22.sql
  1. … 1 more file in changeset.
file upgrade-5.10.0d21-5.10.0d22.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.10.0d21-5.10.0d22.sql
improve spelling

  1. … 6 more files in changeset.