• last updated 14 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2546 more files in changeset.
- don't produce error when query end with a "not"

- remove parens from build_query, since handling is broken (e.g. "unimplemented ( 5.5.1 )") and it's not clear what the intended sematics are

- use "in" or not in (ni) operator instead of lsearch

- regularize expressions

- bump version number

  1. … 1 more file in changeset.
regsub empty parens from search query - tsearch doesn't like 'em

Rewriting acs_permission__permission_p function to use recursive queries ( available in PG since 8.4 ) and modifiying

queries around core packages to avoid checking persmissions using a subquery on the acs_object_party_privilege_map view.

    • -0
    • +37
    ./tsearch2-driver-procs-postgresql.xql
  1. … 14 more files in changeset.
- make search callback compatible with definition in search/tcl/search-procs.tcl

Fix count query to also honor the extra_args

    • -0
    • +24
    ./tsearch2-driver-procs-postgresql.xql
Fixes db api choke on multiple tsvector rows being returned in preinstall check.

Non-info file merge results, with conflicts fixed

  1. … 726 more files in changeset.
Missplaced space in expression was generating wrong query string for tsearch2 tsquery

in some cases. f(g) for example.

Implement TIP#130 Add -exta_args to search callback definition to avoid having to redefine it constantly

    • -7
    • +17
    ./tsearch2-driver-procs-postgresql.xql
  1. … 3 more files in changeset.
Fix typo in query names

    • -2
    • +2
    ./tsearch2-driver-procs-postgresql.xql
More missing defaults

    • -3
    • +3
    ./tsearch2-driver-procs-postgresql.xql
Add default config for PG < 8.3 query.

    • -3
    • +3
    ./tsearch2-driver-procs-postgresql.xql
Fix postgtresql 8.3 compatibility for another query.

    • -6
    • +27
    ./tsearch2-driver-procs-postgresql.xql
Removed a debugging message (oops)

Hopefully found the secret to customizing queries by version

    • -39
    • +0
    ./tsearch2-driver-procs-postgresql-8.3.xql
    • -1
    • +44
    ./tsearch2-driver-procs-postgresql.xql
Fucking query processor only allows one queryset per xql file

    • -0
    • +39
    ./tsearch2-driver-procs-postgresql-8.3.xql
    • -42
    • +0
    ./tsearch2-driver-procs-postgresql.xql
Broke out 8.3 vs. old tsearch queries into a query file and conditionalized

by version. Did not break out queries not affected by 8.3.

    • -0
    • +81
    ./tsearch2-driver-procs-postgresql.xql
use tcl 8.4 comparison operators

don't join on acs_objects if not needed

Added new parameter to limite the file indexed size (we have crashes in pg 8.2.4)

  1. … 1 more file in changeset.
Merge fix for not with no search terms from oacs-5-2

Add test for NOT with no search terms

Handle not without any other search terms.

Fix bug#3039 and but#3040.

Bug#3039. Safely handle OR operator in query without a lefthand operand.

Handle & better, consistently add space around %

pg8 installed in usr local has tsearch2 in $prefix/share/contrib -- we should probably try to guess based on pg_config --libdir or something