• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Avoiding usage of coalesce function on site_nodes table columns in WHERE clause, this was leading to usage of sequencial scans which can be expensive when having a huge amount of site_nodes. Instead we go for isolation of the case when requestion a node with a null parent ( this would be the main site node ) and we use the = operator so the planner goes for a index scan.

- Adding not null constraint to site_nodes(name)

    • -0
    • +9
    ./upgrade/upgrade-5.7.0d2-5.7.0d3.sql
  1. … 3 more files in changeset.
Merged oacs-5-6 to HEAD. HEAD now installs and passes all core tests. There

may still be some lingering problems due to my screwing up the oacs-5-6

branch earlier, I'll be looking into this later.

    • -0
    • +57
    ./upgrade/upgrade-5.6.0d7-5.6.0d8.sql
  1. … 211 more files in changeset.
I somehow managed to avoid commiting the "is_child" addition to apm-create

and also the upgrade script.

    • -0
    • +85
    ./upgrade/upgrade-5.6.0d7-5.6.0d8.sql
- complete change to acs_objects_package_idx for new creates (see http://fisheye.openacs.org/changelog/OpenACS/?cs=oacs-5-6%3Agustafn%3A20100509112929)

  1. … 1 more file in changeset.
- create index for acs_objects on package_ids and drop old one (as discussed in OCT)

- bump version number to trigger run of upgrade scripts for testing

  1. … 2 more files in changeset.
file upgrade-5.6.0b1-5.6.0b2.sql was initially added on branch oacs-5-6.

    • -0
    • +0
    ./upgrade/upgrade-5.6.0b1-5.6.0b2.sql
  1. … 1 more file in changeset.
Making global/instance changes work with Oracle

    • -0
    • +29
    ./upgrade/upgrade-5.6.0d7-5.6.0d8.sql
  1. … 1 more file in changeset.
More code dealing with instance and global parameter semantics. I finally

have a reasonable model of inheritance and semantics implemented, not

perfect from a language-theoretic point of view, but works well without

having to rewrite every bit of parameter-handling code in acs-core.

    • -0
    • +249
    ./upgrade/upgrade-5.6.0d7-5.6.0d8.sql
  1. … 7 more files in changeset.
Oracle now passes the first set of global parameter tests. More to follow

for both PG and Oracle.

A bunch of stuff related to global/instance parameters.

  1. … 2 more files in changeset.
Restored the data links upgrade script I'd accidently overwritten earlier.

1. added "bio" attribute to user rather than person (initial install was fine)

2. only make package instance parameter values for instance scope params

    • -8
    • +11
    ./upgrade/upgrade-5.6.0d6-5.6.0d7.sql
Orace stuff for global parameters.

    • -0
    • +657
    ./upgrade/upgrade-5.6.0d6-5.6.0d7.sql
  1. … 1 more file in changeset.
Added scope attribute to apm_parameters.

1. Changed trigger functions from "opaque" to "trigger" to get rid of the

warnings during initial install (only for acs-kernel, there are a lot

elsewhere!)

2. Added "embeds" for postgresql and partially for oracle.

3. Added global parameters for postgresql and partially for oracle.

(oracle will be forthcoming shortly)

  1. … 29 more files in changeset.
Accidently added this to the 5.5 branch rather than HEAD earlier (but it

does no harm there so will leave it there).

    • -329
    • +12
    ./upgrade/upgrade-5.6.0d4-5.6.0d5.sql
    • -0
    • +334
    ./upgrade/upgrade-5.6.0d5-5.6.0d6.sql
I had forgotten to add the "apm_package.is_child" function to 5.5 ...

    • -0
    • +334
    ./upgrade/upgrade-5.6.0d5-5.6.0d6.sql
file upgrade-5.6.0d5-5.6.0d6.sql was initially added on branch oacs-5-5.

    • -0
    • +0
    ./upgrade/upgrade-5.6.0d5-5.6.0d6.sql
More "extends" fixing

    • -0
    • +333
    ./upgrade/upgrade-5.6.0d4-5.6.0d5.sql
add three column constraint to acs_data_links

  1. … 2 more files in changeset.
drop acs_data_links unique constraint, use unique index instead.

  1. … 2 more files in changeset.
TIP #138 - Add relation_tag to acs_data_links

    • -0
    • +9
    ./upgrade/upgrade-5.6.0d3-5.6.0d4.sql
  1. … 6 more files in changeset.
Added some missing attributes (more to go, though, damn core datamodel)

  1. … 2 more files in changeset.
Fixed the upgrade script ...

Moved "bio" back to "person", but with type-specific storage. People can

fight over where such things belong on another day, for now keeping it in

"person" has the advantage that the Tcl API is 100% unchanged so moving it

to type-specific storage won't break .LRN.

    • -1
    • +12
    ./upgrade/upgrade-5.6.0d1-5.6.0d2.sql
  1. … 7 more files in changeset.
Added attributes for "user" columns "screen_name" and "username", as well as the

new "bio" column which replaces the old generic storage attribute assigned to

"person".

    • -0
    • +38
    ./upgrade/upgrade-5.6.0d2-5.6.0d3.sql
  1. … 3 more files in changeset.
Added bio to users table. Now both initial install and upgrade from older

versions appear to work.

Magically transformed the upgrade script from PG to Oracle.

    • -26
    • +72
    ./upgrade/upgrade-5.6.0d1-5.6.0d2.sql
Added upgrade scripts (Oracle isn't correct, yet), removed bogus attribute

sql files (PG, for instance, created bio and bio_mime_type but only

dropped bio, Oracle had not bio_mime_type_reference at all).

    • -0
    • +42
    ./upgrade/upgrade-5.6.0d1-5.6.0d2.sql
  1. … 3 more files in changeset.
Fixed daveb's connect by and nextval, for initial install and upgrade (change

to acs_group.new)