mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
pgindent run for 8.3.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/access/gin/ginscan.c,v 1.10 2007/05/27 03:50:38 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/access/gin/ginscan.c,v 1.11 2007/11/15 21:14:31 momjian Exp $
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
@@ -164,13 +164,13 @@ newScanKey(IndexScanDesc scan)
|
||||
UInt16GetDatum(scankey[i].sk_strategy)
|
||||
)
|
||||
);
|
||||
if ( nEntryValues < 0 )
|
||||
if (nEntryValues < 0)
|
||||
{
|
||||
/*
|
||||
* extractQueryFn signals that nothing will be found,
|
||||
* so we can just set isVoidRes flag...
|
||||
* extractQueryFn signals that nothing will be found, so we can
|
||||
* just set isVoidRes flag...
|
||||
*/
|
||||
so->isVoidRes = true;
|
||||
so->isVoidRes = true;
|
||||
break;
|
||||
}
|
||||
if (entryValues == NULL || nEntryValues == 0)
|
||||
@@ -187,7 +187,7 @@ newScanKey(IndexScanDesc scan)
|
||||
if (so->nkeys == 0 && !so->isVoidRes)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("GIN index does not support search with void query")));
|
||||
errmsg("GIN index does not support search with void query")));
|
||||
|
||||
pgstat_count_index_scan(scan->indexRelation);
|
||||
}
|
||||
|
Reference in New Issue
Block a user