aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2008-06-10 08:55:50 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2008-06-10 08:55:50 +0000
commit0f5c606f4197e54cad8fb5d7751673e479bed31e (patch)
treed24955c37e79b70a6346e58e59c6eb1a7ffa6c32 /src
parent96063da99df7af7c6981548b7d34d8960dc766db (diff)
downloadpostgresql-0f5c606f4197e54cad8fb5d7751673e479bed31e.tar.gz
postgresql-0f5c606f4197e54cad8fb5d7751673e479bed31e.zip
Comment fix, should say TSQuery instead of TSVector.
Per Jan Urbanski.
Diffstat (limited to 'src')
-rw-r--r--src/include/tsearch/ts_type.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/tsearch/ts_type.h b/src/include/tsearch/ts_type.h
index 42680408a91..067114f92e4 100644
--- a/src/include/tsearch/ts_type.h
+++ b/src/include/tsearch/ts_type.h
@@ -5,7 +5,7 @@
*
* Copyright (c) 1998-2008, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/include/tsearch/ts_type.h,v 1.11 2008/05/16 16:31:02 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/tsearch/ts_type.h,v 1.12 2008/06/10 08:55:50 heikki Exp $
*
*-------------------------------------------------------------------------
*/
@@ -238,10 +238,10 @@ typedef TSQueryData *TSQuery;
*/
#define COMPUTESIZE(size, lenofoperand) ( HDRSIZETQ + (size) * sizeof(QueryItem) + (lenofoperand) )
-/* Returns a pointer to the first QueryItem in a TSVector */
+/* Returns a pointer to the first QueryItem in a TSQuery */
#define GETQUERY(x) ((QueryItem*)( (char*)(x)+HDRSIZETQ ))
-/* Returns a pointer to the beginning of operands in a TSVector */
+/* Returns a pointer to the beginning of operands in a TSQuery */
#define GETOPERAND(x) ( (char*)GETQUERY(x) + ((TSQuery)(x))->size * sizeof(QueryItem) )
/*