• last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixes during the creation of the search observer queue for Oracle 19c:

In essence, the change repairs the following error:

Warning: Package Body created with compilation errors.

Errors for PACKAGE BODY SEARCH_OBSERVER:

LINE/COL ERROR

-------- -----------------------------------------------------------------

16/7 PL/SQL: SQL Statement ignored

16/40 PL/SQL: ORA-00933: SQL command not properly ended

remove spurious parens

    • -1
    • +1
    ./upgrade/upgrade-5.10.0d3-5.10.0d4.sql
Handle potential race condition in search observer queue maintenance

In some cases, when e.g. objects are quicky deleted after updates, the

object might be already be deleted when being tried to trigger a

DELETE operation in the search queue. as a consequence, one can sometimes

observer errors like the one below. The new code double-checks now,

if the object for the DELETE operation still exists.

ERROR: insert or update on table "search_observer_queue" violates foreign key constraint "search_observer_queue_object_id_fk"

: DETAIL: Key (object_id)=(497509146) is not present in table "acs_objects".

: CONTEXT: SQL statement "insert into search_observer_queue (

    • -0
    • +50
    ./upgrade/upgrade-5.10.0d3-5.10.0d4.sql
  1. … 3 more files in changeset.
file upgrade-5.10.0d3-5.10.0d4.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./upgrade/upgrade-5.10.0d3-5.10.0d4.sql
  1. … 1 more file in changeset.
Files removed on oacs-5-4, not removed on HEAD by the last merge

Merged from 5.4.2

  1. … 282 more files in changeset.
Found some more intermedia stuff to remove.

Remove intermedia specific files

Remove 'exit' lines that caused datamodel to be incompletely installed. Comment out creation of triggers for forums, static-portal, acs-events, faq, survey and photobook (should go in their own package)

    • -180
    • +179
    ./search-packages-create.sql
Remove reference to dotlrn

commiting search work from sloan

    • -270
    • +266
    ./search-packages-create.sql
  1. … 30 more files in changeset.
Added package_id to site_wide_index table

Added indexed_content field to the site_wide_index table. This

field will hold "textualized" content of binaries.

first draft for .lrn search. run load-site-wide-search shell script to install

    • -0
    • +48
    ./load-site-wide-search
    • -0
    • +49
    ./search-from-scratch.sql
    • -0
    • +152
    ./search-im-convert.sql
    • -0
    • +43
    ./search-index-create.sql
    • -0
    • +32
    ./search-index-drop.sql
    • -0
    • +20
    ./search-index-from-scratch.sql
add a syndication table which holds xml fragments which can be assembled to create rss feeds

    • -0
    • +15
    ./syndication-create.sql
    • -0
    • +3
    ./upgrade/upgrade-5.2.0d2-5.2.0d3.sql
  1. … 4 more files in changeset.
Oracle9i porting changes

- Changed procedure names from delete to del

- Changed view declaration to use actual column names

- Changed "rel_constraints_violated_one" and "rel_constraints_violated_two"

(http://openacs.org/forums/message-view?message_id=81045)

  1. … 275 more files in changeset.
the package is 99% ported to oracle. the only file that still requires a

little porting is www/search.tcl

now all someone needs to do is write the FtsEngineDriver for Oracle. i didn't

do it since i didn't need site-wide-search quite yet.

    • -0
    • +59
    ./search-packages-create.sql
    • -0
    • +2
    ./search-packages-drop.sql
    • -0
    • +185
    ./search-sc-create.sql
    • -0
    • +26
    ./search-sc-drop.sql
    • -0
    • +8
    ./search-tables-create.sql
    • -0
    • +1
    ./search-tables-drop.sql
  1. … 9 more files in changeset.