Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0f5c606

Browse files
committed
Comment fix, should say TSQuery instead of TSVector.
Per Jan Urbanski.
1 parent 96063da commit 0f5c606

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/include/tsearch/ts_type.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1998-2008, PostgreSQL Global Development Group
77
*
8-
* $PostgreSQL: pgsql/src/include/tsearch/ts_type.h,v 1.11 2008/05/16 16:31:02 tgl Exp $
8+
* $PostgreSQL: pgsql/src/include/tsearch/ts_type.h,v 1.12 2008/06/10 08:55:50 heikki Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -238,10 +238,10 @@ typedef TSQueryData *TSQuery;
238238
*/
239239
#define COMPUTESIZE(size, lenofoperand) ( HDRSIZETQ + (size) * sizeof(QueryItem) + (lenofoperand) )
240240

241-
/* Returns a pointer to the first QueryItem in a TSVector */
241+
/* Returns a pointer to the first QueryItem in a TSQuery */
242242
#define GETQUERY(x) ((QueryItem*)( (char*)(x)+HDRSIZETQ ))
243243

244-
/* Returns a pointer to the beginning of operands in a TSVector */
244+
/* Returns a pointer to the beginning of operands in a TSQuery */
245245
#define GETOPERAND(x) ( (char*)GETQUERY(x) + ((TSQuery)(x))->size * sizeof(QueryItem) )
246246

247247
/*

0 commit comments

Comments
 (0)