Skip to content

Commit a15102f

Browse files
author
Álvaro Herrera
committed
Fix comment of tsquerysend()
The comment describes the order in which fields are sent, and it had one of the fields in the wrong place. This has been wrong since e6dbcb7 (2008), so backpatch all the way back. Author: Emre Hasegeli <emre@hasegeli.com> Discussion: https://postgr.es/m/CAE2gYzzf38bR_R=izhpMxAmqHXKeM5ajkmukh4mNs_oXfxcMCA@mail.gmail.com
1 parent 8b3c5d9 commit a15102f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/utils/adt/tsquery.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,10 +1168,11 @@ tsqueryout(PG_FUNCTION_ARGS)
11681168
*
11691169
* uint8 type, QI_VAL
11701170
* uint8 weight
1171-
* operand text in client encoding, null-terminated
11721171
* uint8 prefix
1172+
* operand text in client encoding, null-terminated
11731173
*
11741174
* For each operator:
1175+
*
11751176
* uint8 type, QI_OPR
11761177
* uint8 operator, one of OP_AND, OP_PHRASE OP_OR, OP_NOT.
11771178
* uint16 distance (only for OP_PHRASE)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy