• last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove type discrepancy introduced in 2002:

- acs_object_types.object_type has type varchar(1000), while

- acs_object_types.supertype has type varchar(100)

... several more data types are involved, using acs_object_types.object_type as foreign key

    • -4
    • +4
    ./postgresql/acs-relationships-create.sql
    • -0
    • +132
    ./postgresql/upgrade/upgrade-5.9.1d8-5.9.1d9.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d8-5.9.1d9.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d8-5.9.1d9.sql
- remove unneeded line

- Slightly faster (around 10%) versions for the base permission query functions.

In the new versions the lookup of acs__magic_object_id was moved out of the loop.

    • -175
    • +141
    ./postgresql/acs-permissions-create.sql
    • -0
    • +107
    ./postgresql/upgrade/upgrade-5.9.1d7-5.9.1d8.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d7-5.9.1d8.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d7-5.9.1d8.sql
- rename attribute "tag" to "originating_rel_id" to avoid confusion

- Create an "identity relationship" (-10)

- Use the new identity relation instead of value "0" in party_approved_member_map

- Add a foreign key to avoid garbage in "originating_rel_id"

- Speed up referential integrity

- Improve get_func_definition() to return SQL function/procedure

definitions with argument names and defaults (contained just types before)

    • -14
    • +18
    ./postgresql/rel-segments-create.sql
    • -0
    • +156
    ./postgresql/upgrade/upgrade-5.9.1d6-5.9.1d7.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d6-5.9.1d7.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d6-5.9.1d7.sql
clean up of inconsistency between old and new installations

--

-- Since many years, new installations are created with "Registered

-- Users" (object_id -2) having object_type as "application_group" and

-- the context id of the main subsite (see

-- acs-kernel/sql/postgresql/acs-install.sql).

--

-- However, it seems as if some prior upgrade scripts have not cared

-- sufficiently to update all installation correctly (some have still

-- "group", some have no context_id set). This upgrade script tries to

-- bring everything in sync such that "newer" and "older"

-- installations behave the same.

--

    • -0
    • +35
    ./postgresql/upgrade/upgrade-5.9.1d5-5.9.1d6.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d5-5.9.1d6.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d5-5.9.1d6.sql
- regenerated documentation to fix escaping problem for message keys

in "programlisting": inserting a ­ after the first hash

    • -5
    • +1
    ./postgresql/acs-relationships-create.sql
  1. … 120 more files in changeset.
- improve version comparison logic for PostgreSQL to deal with beta versions

- sharpen the comment and warning about unintended uses of db_nextval

- use a sequence name without t_ prefix for anon_func_seq

- bump version number to 5.9.1d4

    • -0
    • +23
    ./postgresql/upgrade/upgrade-5.9.1d3-5.9.1d4.sql
  1. … 3 more files in changeset.
file upgrade-5.9.1d3-5.9.1d4.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d3-5.9.1d4.sql
- drop useless view

- report usage of deprecated views (deprecated since at least 10 years) in error.log

  1. … 2 more files in changeset.
- fix typo in parameter name TclTraceLogSeverities

  1. … 4 more files in changeset.
file upgrade-5.9.1d1-5.9.1d2.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
- fix install scripts

    • -20
    • +8
    ./postgresql/acs-objects-create.sql
  1. … 1 more file in changeset.
- fix a fk bug in old installations: it seems that the constraints were renamed ages ago, and since this time the ON DELETE CASCADE constraints are missing.

file upgrade-5.9.0-5.9.1d1.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.0-5.9.1d1.sql
- make pretty string of acs-tcl and acs-admin more conformant

  1. … 2 more files in changeset.
- delete parameters from database, that were deleted from .info files ages ago

  1. … 1 more file in changeset.
file upgrade-5.9.0d8-5.9.0d9.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.0d8-5.9.0d9.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.0d8-5.9.0d9.sql
- reduce verbosity

file upgrade-5.9.0d6-5.9.0d7.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.0d6-5.9.0d7.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.0d6-5.9.0d7.sql
- make pretty-naming of acs-core packages more consistent

- bump verision numbers

    • -0
    • +59
    ./postgresql/upgrade/upgrade-5.9.0d6-5.9.0d7.sql
  1. … 15 more files in changeset.
- remove commented out command

- improve robustness of upgrade script

- second part of Part 4 of OpenACS 5.9 agenda: get rid of tree_sortkey in acs-objects : getting rid of functions accessing acs_objects.tree_sortkey when creating new instances

- use variable names "ot1" and "ot2" instead of "o1" and "o2" when referring to object_types (and not objects)

    • -133
    • +15
    ./postgresql/acs-objects-create.sql
Removed exclusive lock from permission granting and revoking. Use exception handling or ignoring instead, as in Oracle codebase.

    • -27
    • +11
    ./postgresql/acs-permissions-create.sql
    • -0
    • +48
    ./postgresql/upgrade/upgrade-5.9.0d5-5.9.0d6.sql
  1. … 1 more file in changeset.
- Part 4 of OpenACS 5.9 agenda: get rid of tree_sortkey in acs-objects ; to be on the safe side, backup your database before upgrading, since the acs-objects.treesortkey is being removed (custom packages might erroneously depend on it)

    • -0
    • +258
    ./postgresql/upgrade/upgrade-5.9.0d4-5.9.0d5.sql
  1. … 4 more files in changeset.