Skip to content

Commit d2d3cd0

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 793aa98 commit d2d3cd0

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
@@ -1123,10 +1123,11 @@ tsqueryout(PG_FUNCTION_ARGS)
11231123
*
11241124
* uint8 type, QI_VAL
11251125
* uint8 weight
1126-
* operand text in client encoding, null-terminated
11271126
* uint8 prefix
1127+
* operand text in client encoding, null-terminated
11281128
*
11291129
* For each operator:
1130+
*
11301131
* uint8 type, QI_OPR
11311132
* uint8 operator, one of OP_AND, OP_PHRASE OP_OR, OP_NOT.
11321133
* 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