• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
    • +36
    ./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.
Merging back to HEAD all changes that happened in branch oacs-5-8 between tags: vg-merge-oacs-5-8-from-20141027 and vg-merge-oacs-5-8-from-20150427

  1. … 520 more files in changeset.
- fix for bug #3238

  1. … 3 more files in changeset.
- update postgres function to modern style plpgsql definitions, avoid backslash escaping

- add missing function_args

  1. … 18 more files in changeset.
Fixed constraint naming error caught by automated testing.

fix a couple typos for syndication

  1. … 1 more file in changeset.
add a syndication table which holds xml fragments which can be assembled to create rss feeds

    • -0
    • +18
    ./syndication-create.sql
    • -0
    • +3
    ./upgrade/upgrade-5.2.0d2-5.2.0d3.sql
  1. … 5 more files in changeset.
Put functions into a search:: namespace and make most private.

Add a search::queue and search::dequeue command

define_function_args/package_exec_plsql to avoid db specific xql files.

unset datasource when finished with it.

bump to 5.2.0d2 + postgresql upgrade script.

    • -0
    • +5
    ./upgrade/upgrade-5.2.0d1-5.2.0d2.sql
  1. … 5 more files in changeset.
Applied fix from Carsten Clasohm - now upgrade works on pg7.3 as well (tried it on 7.2 too). Fixes #631

merge of 4.6.3b1 to HEAD

  1. … 26 more files in changeset.
I've changed "timestamp" to "timestamptz" and have begun fixing some

code that used to be legal but as of PG 7.3 is not. You can no longer

subtract an integer from a timestamp but must cast to date, "timestamp"

disappeared (must use "interval" now), "datetime" disappeared ("timestamptz"),

and suchwhat.

Not done but closer than it was before ...

  1. … 37 more files in changeset.
merge bartt PG 7.3 fixes from HEAD

  1. … 53 more files in changeset.
Patches to make OpenACS PG 7.3 compatible.

  1. … 53 more files in changeset.
merge from oacs-4-6

  1. … 28 more files in changeset.
changes to make search work with openfts 0.3

  1. … 4 more files in changeset.
renamed jon's upgrade file 4.5->4.5.1

    • -0
    • +35
    ./upgrade/upgrade-4.5-4.5.1.sql
initial revision

    • -0
    • +35
    ./upgrade/upgrade-4.2-4.5.1.sql
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.

  1. … 14 more files in changeset.
*** empty log message ***

  1. … 7 more files in changeset.
fixed/changed operation_nargs values

*** empty log message ***

enhanced search package

  1. … 9 more files in changeset.
fixed virtual url handling for CR so that it will also display content that is not live. This was done so that non-live revision could be searched for. It is assumed that the user will only see content that they have permission to view regardless of whether it is live or not.

  1. … 8 more files in changeset.
added on delete cascade so that items still in the queue can be deleted without triggering RI constraint error

Initial revision

    • -0
    • +39
    ./search-packages-create.sql
    • -0
    • +2
    ./search-packages-drop.sql
    • -0
    • +182
    ./search-sc-create.sql
    • -0
    • +20
    ./search-sc-drop.sql
    • -0
    • +10
    ./search-tables-create.sql
    • -0
    • +1
    ./search-tables-drop.sql
  1. … 11 more files in changeset.