mirror of
https://github.com/postgres/postgres.git
synced 2026-03-10 18:28:35 -04:00
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 e6dbcb72fa (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
This commit is contained in:
parent
cad781b3e5
commit
2dac114e2c
1 changed files with 2 additions and 1 deletions
|
|
@ -1176,10 +1176,11 @@ tsqueryout(PG_FUNCTION_ARGS)
|
|||
*
|
||||
* uint8 type, QI_VAL
|
||||
* uint8 weight
|
||||
* operand text in client encoding, null-terminated
|
||||
* uint8 prefix
|
||||
* operand text in client encoding, null-terminated
|
||||
*
|
||||
* For each operator:
|
||||
*
|
||||
* uint8 type, QI_OPR
|
||||
* uint8 operator, one of OP_AND, OP_PHRASE OP_OR, OP_NOT.
|
||||
* uint16 distance (only for OP_PHRASE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue