tsearch2-driver-procs-postgresql.xql

  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reduce duplication:

index and update_index were in fact implementing a upsert logic. Modern sql allows to write this in a single query and merge the two apis into one. Replace reference in the service contracts as well.

    • -18
    • +17
    ./tsearch2-driver-procs-postgresql.xql
  1. … 5 more files in changeset.
remove spurious parens

    • -1
    • +1
    ./tsearch2-driver-procs-postgresql.xql
Make sure object_id is still a valid acs_object by the time it gets to the indexer: it can happen that objects meant to be indexed are in fact short-lived (e.g. xowiki-based objects created, scheduled for indexing and deleted shortly after)

    • -4
    • +5
    ./tsearch2-driver-procs-postgresql.xql
Use "package defined" stored procedure instead of legacy nomenclature

    • -1
    • +1
    ./tsearch2-driver-procs-postgresql.xql