|
5 | 5 | * |
6 | 6 | * Copyright (c) 1998-2008, PostgreSQL Global Development Group |
7 | 7 | * |
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 $ |
9 | 9 | * |
10 | 10 | *------------------------------------------------------------------------- |
11 | 11 | */ |
@@ -238,10 +238,10 @@ typedef TSQueryData *TSQuery; |
238 | 238 | */ |
239 | 239 | #defineCOMPUTESIZE(size,lenofoperand) ( HDRSIZETQ + (size) * sizeof(QueryItem) + (lenofoperand) ) |
240 | 240 |
|
241 | | -/* Returns a pointer to the first QueryItem in aTSVector */ |
| 241 | +/* Returns a pointer to the first QueryItem in aTSQuery */ |
242 | 242 | #defineGETQUERY(x) ((QueryItem*)( (char*)(x)+HDRSIZETQ )) |
243 | 243 |
|
244 | | -/* Returns a pointer to the beginning of operands in aTSVector */ |
| 244 | +/* Returns a pointer to the beginning of operands in aTSQuery */ |
245 | 245 | #defineGETOPERAND(x)( (char*)GETQUERY(x) + ((TSQuery)(x))->size * sizeof(QueryItem) ) |
246 | 246 |
|
247 | 247 | /* |
|