forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb608afe
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 parentfcf46f8 commitb608afe
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
356 | 356 |
| |
357 | 357 |
| |
358 | 358 |
| |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
359 | 363 |
| |
360 | 364 |
| |
361 | 365 |
| |
| |||
365 | 369 |
| |
366 | 370 |
| |
367 | 371 |
| |
368 |
| - | |
| 372 | + | |
369 | 373 |
| |
370 | 374 |
| |
371 | 375 |
| |
|
0 commit comments
Comments
(0)