forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc8bc807

Amit Kapila
pgoutput: Raise an error for missing protocol version parameter.
Currently, we give a misleading error if the user omits to pass therequired parameter 'proto_version' in SQL APIpg_logical_slot_get_changes() or during START_REPLICATION protocolmessage. The error raised is as follows which indicates that the wrongversion is passed.ERROR: client sent proto_version=0 but server only supports protocol 1 or higherAuthor: Emre HasegeliReviewed-by: Peter Smith, Amit KapilaDiscussion:https://postgr.es/m/CAE2gYzwdwtUbs-tPSV-QBwgTubiyGD2ZGsSnAVsDfAGGLDrGOA@mail.gmail.com1 parent8b965c5 commitc8bc807
1 file changed
+10
-5
lines changedLines changed: 10 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
400 | 400 |
| |
401 | 401 |
| |
402 | 402 |
| |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
403 | 413 |
| |
404 | 414 |
| |
405 | 415 |
| |
| |||
449 | 459 |
| |
450 | 460 |
| |
451 | 461 |
| |
452 |
| - | |
453 |
| - | |
454 |
| - | |
455 |
| - | |
456 |
| - | |
457 | 462 |
| |
458 | 463 |
| |
459 | 464 |
| |
|
0 commit comments
Comments
(0)