1
0
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:
Bruce Momjian
2002-08-23 02:56:36 +00:00
parent 2e0e430659
commit 52ee800ed3
4 changed files with 20 additions and 8 deletions

View File

@ -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);