• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
file upgrade-5.8.1d6-5.8.1d7.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.8.1d6-5.8.1d7.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.8.1d6-5.8.1d7.sql
file upgrade-5.8.1a3-5.8.1a4.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.8.1a3-5.8.1a4.sql
file upgrade-5.8.1a4-5.8.1a5.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.8.1a4-5.8.1a5.sql
- fixing 2 more cases of still incorrect function argument names

- fix function args: names of arguments for postgres did not match names for oracle leading to potential portability problems

    • -11
    • +8
    ./postgresql/acs-objects-create.sql
  1. … 1 more file in changeset.
- change type of session_id as well to bigint in the create script

- the datatype of session_id in sec_session_properties should be the same as the sequence. Without this change, busy sites will run into a overflow (as we did a while ago).

  1. … 1 more file in changeset.
file upgrade-5.8.1d5-5.8.1d6.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.8.1d5-5.8.1d6.sql
file upgrade-5.8.1d4-5.8.1d5.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.8.1d4-5.8.1d5.sql
Fixing bug 3223

  1. … 1 more file in changeset.
- Make sure that patch

http://cvs.openacs.org/browse/OpenACS/openacs-4/packages/acs-kernel/sql/postgresql/apm-create.sql?r2=1.74&r1=1.73

is applied for sites upgrading (use v_parameter_id and not get_value__parameter_id)

    • -0
    • +43
    ./postgresql/upgrade/upgrade-5.8.1d3-5.8.1d4.sql
  1. … 1 more file in changeset.
file upgrade-5.8.1d3-5.8.1d4.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.8.1d3-5.8.1d4.sql
- fix for bug #3119

    • -0
    • +34
    ./postgresql/upgrade/upgrade-5.8.1d2-5.8.1d3.sql
file upgrade-5.8.1d2-5.8.1d3.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.8.1d2-5.8.1d3.sql
- fix bug #3064

    • -0
    • +58
    ./postgresql/upgrade/upgrade-5.8.1d1-5.8.1d2.sql
  1. … 1 more file in changeset.
file upgrade-5.8.1d1-5.8.1d2.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.8.1d1-5.8.1d2.sql
for some reason function apm__register_parameter/10 was missing on openacs.org.

    • -0
    • +74
    ./postgresql/upgrade/upgrade-5.8.0d4-5.8.0d5.sql
  1. … 1 more file in changeset.
on pg version 9.0 ( and lower ) the function string_to_array takes only two parameters.

Creating recursive version of permissions functions iff pg version is >= 8.4.

    • -87
    • +131
    ./postgresql/acs-permissions-create.sql
    • -16
    • +65
    ./postgresql/site-nodes-create.sql
    • -104
    • +161
    ./postgresql/upgrade/upgrade-5.8.0d3-5.8.0d4.sql
Renaming parameters used on recursive query in order to avoid name clashing with function parameters ( seems to happen just in pg 8.4 ).

    • -6
    • +4
    ./postgresql/acs-permissions-create.sql
Rewriting acs_permission__permission_p function to use recursive queries ( available in PG since 8.4 ) and modifiying

queries around core packages to avoid checking persmissions using a subquery on the acs_object_party_privilege_map view.

    • -10
    • +84
    ./postgresql/acs-permissions-create.sql
    • -22
    • +15
    ./postgresql/site-nodes-create.sql
    • -0
    • +116
    ./postgresql/upgrade/upgrade-5.8.0d3-5.8.0d4.sql
  1. … 12 more files in changeset.
- fix collateral damage

- add more cases of $$ quoting

- update postgres function to modern style plpgsql definitions using dollar quoting

    • -102
    • +120
    ./test/rel-constraints-test.sql
    • -56
    • +92
    ./test/rel-segments-test-types-create.sql
    • -134
    • +159
    ./test/rel-segments-test.sql
  1. … 1 more file in changeset.
- fixed bug (backport of fix in rev 1.74 of postgresql/apm-create.sql)

- bump version number to 5.6.1

  1. … 1 more file in changeset.
file upgrade-5.6.0-5.6.1.sql was initially added on branch oacs-5-6.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.6.0-5.6.1.sql
Some time ago some plpgsql functions were changed in order to be compatible with pg 8.x, create scripts were modified but upgrade scripts were missing ( at least i couldn't find them) http://fisheye.openacs.org/changelog/OpenACS?cs=MAIN%3Ajeffd%3A20090210183154 . Bumping up package versions accordingly.

    • -0
    • +77
    ./postgresql/upgrade/upgrade-5.8.0d2-5.8.0d3.sql
  1. … 7 more files in changeset.
Merged oacs-5-7 to HEAD

  1. … 167 more files in changeset.
Upgrade scripts contain the following changes:

- getting right name of triggers, following the pattern *_tr

- redefining funtion arguments for each function using define_function_args

- getting rid of unncesary backslashes, used for escaping, in some functions.

- redefinitions of content_type__refresh_trigger and content_type__drop_type in order to get rid of some 7.2 vs 7.3 querying.

    • -0
    • +310
    ./postgresql/upgrade/upgrade-5.8.0d1-5.8.0d2.sql
  1. … 3 more files in changeset.
Bring PostgreSQL functions closer to the current level of PL/pgSQL:

- upgrade PL/pgSQL functions to the $$ notation (recommended since pg8.0, jan 2005).

- get rid of backslash usages in function definitions

- drop aliases in favor of named function arguments (recommended since pg8.0)

- fix wrong function_args, add missing function_args, align default semantics

with the defaults in pg (providing "null" as default means the argument is

optional).

- change return types of triggers from "opaque" to "trigger" (recommended since pg8.0)

- unify names of triggers *_tr

- removed some version dependencies of pg 7.2 and 7.3

    • -33
    • +69
    ./postgresql/acs-logs-create.sql
    • -219
    • +353
    ./postgresql/acs-metadata-create.sql
    • -40
    • +85
    ./postgresql/acs-object-util.sql
    • -446
    • +693
    ./postgresql/acs-objects-create.sql
    • -78
    • +167
    ./postgresql/acs-permissions-create.sql
    • -109
    • +204
    ./postgresql/acs-relationships-create.sql
    • -813
    • +1375
    ./postgresql/apm-create.sql
    • -7
    • +14
    ./postgresql/authentication-drop.sql
    • -47
    • +49
    ./postgresql/authentication-package-create.sql
    • -242
    • +368
    ./postgresql/community-core-create.sql
    • -309
    • +592
    ./postgresql/groups-body-create.sql
    • -82
    • +114
    ./postgresql/groups-create.sql
  1. … 40 more files in changeset.