Navigation Menu

Skip to content

Commit

Permalink
Improve performance for sub SELECT
Browse files Browse the repository at this point in the history
GitHub: fix #55

Set RESTRICT and JOIN attributes of operators.

Reported by tedypranolo. Thanks!!!
  • Loading branch information
kou committed Oct 19, 2017
1 parent 6094075 commit dc4ed2f
Show file tree
Hide file tree
Showing 2 changed files with 373 additions and 122 deletions.
7 changes: 7 additions & 0 deletions data/pgroonga--2.0.2--2.0.3.sql
@@ -0,0 +1,7 @@
-- Set RESTRICT and JOIN
UPDATE pg_catalog.pg_operator
SET oprrest = 'contsel',
oprjoin = 'contjoinsel'
WHERE oprcode::text LIKE 'pgroonga_%' OR
oprcode::text LIKE 'public.pgroonga_%' OR
oprcode::text LIKE 'pgroonga.%';

0 comments on commit dc4ed2f

Please sign in to comment.