Mercurial > gemma
comparison pkg/models/search.go @ 4431:8fcabb6f971e
Fix operator support functions
Operators used in an operator class should not be based on SQL functions,
which might be inlined, thus preventing index usage based on the
operator.
Schema qualify functions called inside functions to make the outer
function work independendly from search_path setting. This makes
it possible to use the operators using the 'OPERATOR(<schema>.<opname>)'
syntax. Most importantly, it fixes the usage of isrs_diff() during
autovacuum.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 18 Sep 2019 17:26:28 +0200 |
parents | a244b18cb916 |
children | a6e5bb85f0a7 |
comparison
equal
deleted
inserted
replaced
4430:86c89824aab4 | 4431:8fcabb6f971e |
---|