forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcdb6b0f
committed
Add PQfullProtocolVersion() to surface the precise protocol version.
The existing function PQprotocolVersion() does not include the minorversion of the protocol. In preparation for pending work that willbump that number for the first time, add a new function to provide itto clients that may care, using the (major * 10000 + minor)convention already used by PQserverVersion().Jacob Champion based on earlier work by Jelte Fennema-NioDiscussion:http://postgr.es/m/CAOYmi+mM8+6Swt1k7XsLcichJv8xdhPnuNv7-02zJWsezuDL+g@mail.gmail.com1 parent5bbdfa8 commitcdb6b0f
File tree
4 files changed
+46
-8
lines changed- doc/src/sgml
- src
- include/libpq
- interfaces/libpq
4 files changed
+46
-8
lines changedLines changed: 30 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2678 | 2678 |
| |
2679 | 2679 |
| |
2680 | 2680 |
| |
| 2681 | + | |
| 2682 | + | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
| 2700 | + | |
| 2701 | + | |
| 2702 | + | |
| 2703 | + | |
| 2704 | + | |
2681 | 2705 |
| |
2682 | 2706 |
| |
2683 | 2707 |
| |
2684 | 2708 |
| |
2685 | 2709 |
| |
2686 |
| - | |
| 2710 | + | |
2687 | 2711 |
| |
2688 | 2712 |
| |
2689 | 2713 |
| |
2690 |
| - | |
2691 |
| - | |
2692 |
| - | |
2693 |
| - | |
2694 |
| - | |
2695 |
| - | |
2696 |
| - | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
| 2717 | + | |
| 2718 | + | |
2697 | 2719 |
| |
2698 | 2720 |
| |
2699 | 2721 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
| 89 | + | |
89 | 90 |
| |
90 | 91 |
| |
91 | 92 |
| |
|
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7158 | 7158 |
| |
7159 | 7159 |
| |
7160 | 7160 |
| |
| 7161 | + | |
| 7162 | + | |
| 7163 | + | |
| 7164 | + | |
| 7165 | + | |
| 7166 | + | |
| 7167 | + | |
| 7168 | + | |
| 7169 | + | |
| 7170 | + | |
7161 | 7171 |
| |
7162 | 7172 |
| |
7163 | 7173 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
59 | 63 |
| |
60 | 64 |
| |
61 | 65 |
| |
| |||
393 | 397 |
| |
394 | 398 |
| |
395 | 399 |
| |
| 400 | + | |
396 | 401 |
| |
397 | 402 |
| |
398 | 403 |
| |
|
0 commit comments
Comments
(0)