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