• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
make sure we exclude null paths from cr_files_to_delete

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
    • +182
    ./upgrade/upgrade-5.8.0d3-5.8.0d4.sql
  1. … 7 more files in changeset.
- missing index and foreign key constraints on cr_item_publish_audit fixed

    • -0
    • +16
    ./upgrade/upgrade-5.8.0d2-5.8.0d3.sql
  1. … 1 more file 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
    • +683
    ./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

  1. … 40 more files in changeset.
Backed out change to make content richtext rather than text, because of

xotcl-core, can't have the type change depending on whether or not that

was previously installed and can't change it to richtext without (probably)

breaking xotcl stuff. Sucks but that's life.

  1. … 2 more files in changeset.
Argh! "content" wants to be richtext, not text !!!

  1. … 3 more files in changeset.
file upgrade-5.7.0d4-5.7.0d5.sql was initially added on branch oacs-5-7.

    • -0
    • +0
    ./upgrade/upgrade-5.7.0d4-5.7.0d5.sql
  1. … 1 more file in changeset.
1. Added "--default foo" style comments to new PL/pgSQL function parameters

because xotcl-core, rather than use the metadata created by define_function_params,

ASSIGNS SEMANTICS TO THESE SQL COMMENTS. Bah. If I truly cared about quality

I'd insist the xotcl people fix their code and do things right, but I know that

would never happen so ... kludge away.

2. xotcl-core adds CR attributes (rather than fix core). So my fixing of

core conflicts, meaning I have to kludge again. Still needs to be fixed

for oracle.

    • -2
    • +13
    ./upgrade/upgrade-5.7.0d3-5.7.0d4.sql
  1. … 3 more files in changeset.
Added a couple of CR revision attributes - the oracle equivalent of the

previous PG commit.

  1. … 4 more files in changeset.
Adding a couple of attributes to make packages working with meta-data less

kludgey. PG-only with this commit, Oracle to follow.

    • -0
    • +25
    ./upgrade/upgrade-5.7.0d3-5.7.0d4.sql
  1. … 1 more file in changeset.
Moved table building and column adding code from content repository to

kernel, so all objects can benefit. Part of the acs object management package

work.

    • -2
    • +12
    ./upgrade/upgrade-5.7.0d2-5.7.0d3.sql
  1. … 3 more files in changeset.
Upgrade scripts for changes on object metadata creation (adding automatic

table and column creation to base objects as well as CR object, object views,

etc).

    • -0
    • +105
    ./upgrade/upgrade-5.7.0d2-5.7.0d3.sql
  1. … 3 more files in changeset.
Changes for supporting postgresql 9.0:

- Avoiding usage of SQL reserved keywords on plpsql functions (plpsql lexer and parser were reworked).

- Fixing all those places on which FROM clause was automatically added by PG ( PG Config add_missing_from parameter was removed for this release of PG ).

Many thanks to Tracy Adams and Jeff Lu for providing first version of the patches.

    • -0
    • +147
    ./upgrade/upgrade-5.7.0d1-5.7.0d2.sql
  1. … 15 more files in changeset.
Make sure you always cascade when dropping the views or it will fail.

    • -0
    • +337
    ./upgrade/upgrade-5.6.0d3-5.6.0d4.sql
  1. … 1 more file in changeset.
Fix support for NULL table name in CR-derived object types

    • -0
    • +212
    ./upgrade/upgrade-5.6.0d2-5.6.0d3.sql
  1. … 3 more files in changeset.
Fixed a problem with the deletion of lob.sql-based ("pseudo-lob") binary

storage.

    • -0
    • +6
    ./upgrade/upgrade-5.5.0d3-5.5.0d4.sql
  1. … 1 more file in changeset.
switch foo_id_seq.netval to nextval('t_foo_id_seq') calls to placate postgresql 8.

  1. … 6 more files in changeset.
Checking that the copy.name is not null when copying it to same parent folder

of the source folder.

  1. … 2 more files in changeset.
Adding basic checks to content_folder.copy procedure in order to avoid

infinit loops.

    • -0
    • +125
    ./upgrade/upgrade-5.5.0d2-5.5.0d3.sql
  1. … 3 more files in changeset.
Upgrade script for increasing maximum length of a cr type name.

    • -0
    • +106
    ./upgrade/upgrade-5.5.0d1-5.5.0d2.sql
  1. … 1 more file in changeset.
Removed files that have been removed on oacs-5-4 but not merged to HEAD

    • -793
    • +0
    ./upgrade/upgrade-5.3.0d6-5.3.0d7.sql
Increased the maximum length of a CR type in postgres because the default

maximum identifier length has been 63, rather than 31, characters since,

ummm, care to guess? How about PG 7.3 !!!

Removed stupid NOTICEs to the log file when deleting stuff. Slows large

deletes down a LOT and fills log file with GARBAGE.

Merged from 5.4.2

  1. … 282 more files in changeset.
Made naming constraints follow our standard so PG core AA tests won't bitch

  1. … 1 more file in changeset.
Remove unecessary upgrades.

Fix RI trigger now that we require PG 8 we don't need the workaround in

cr_folders.

    • -793
    • +0
    ./upgrade/upgrade-5.3.0d6-5.3.0d7.sql
  1. … 1 more file in changeset.
file upgrade-5.4.2d1-5.4.2d2.sql was initially added on branch oacs-5-4.

    • -0
    • +0
    ./upgrade/upgrade-5.4.2d1-5.4.2d2.sql
Fix content_type__is_content_type define function args to match Tcl

procedure and Oracle signature. The argument is called object_type.

    • -0
    • +9
    ./upgrade/upgrade-5.4.1d1-5.4.1d2.sql
new update script in case, someone managed to get the .info file without the update script

    • -0
    • +146
    ./upgrade/upgrade-5.4.0d7-5.4.0d8.sql
    • -0
    • +360
    ./upgrade/upgrade-5.4.0d8-5.4.0d9.sql
  1. … 1 more file in changeset.