mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Patch resolve ERROR problem for non-goog query_txt.
Teodor Sigaev
This commit is contained in:
@ -231,6 +231,9 @@ gtxtidx_consistent(PG_FUNCTION_ARGS) {
|
||||
((GISTENTRY *)PG_GETARG_POINTER(0))->key
|
||||
);
|
||||
|
||||
if ( !query->size )
|
||||
PG_RETURN_BOOL(false);
|
||||
|
||||
if ( ISSIGNKEY(key) ) {
|
||||
if ( ISALLTRUE(key) )
|
||||
PG_RETURN_BOOL(true);
|
||||
|
Reference in New Issue
Block a user