forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1ce2986
committed
Fix incorrect error message for IDENTIFY_SYSTEM
Commit5a991ef accidentally reversed the order of the tuplesand fields parameters, making the error message incorrectly referto 3 tuples with 1 field when IDENTIFY_SYSTEM returns 1 tuple and3 or 4 fields. Fix by changing the order of the parameters. Thisalso adds a comment describing why we check for < 3 when postgressince 9.4 has been sending 4 fields.Backpatch all the way since the bug is almost a decade old.Author: Tomonari Katsumata <t.katsumata1122@gmail.com>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Bug: #18224Backpatch-through: v121 parentff186ea commit1ce2986
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
358 | 358 |
| |
359 | 359 |
| |
360 | 360 |
| |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
361 | 365 |
| |
362 | 366 |
| |
363 | 367 |
| |
| |||
367 | 371 |
| |
368 | 372 |
| |
369 | 373 |
| |
370 |
| - | |
| 374 | + | |
371 | 375 |
| |
372 | 376 |
| |
373 | 377 |
| |
|
0 commit comments
Comments
(0)