Commit 4024dbd
committed
Add method for getting the full protocol version
PostgreSQL 18 added PQfullProtocolVersion() which return the full
protocol version used including the minor version, e.g. 3.0 or 3.2
rather than just 3. The new methods PG::Connection#full_protocol_version
retuns the version as major version * 10000 + minor version, e.g. 30002
for version 3.2.1 parent 01aa282 commit 4024dbd
4 files changed
Lines changed: 42 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| 319 | + | |
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
865 | 865 | | |
866 | 866 | | |
867 | 867 | | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
868 | 893 | | |
869 | 894 | | |
870 | 895 | | |
| |||
4733 | 4758 | | |
4734 | 4759 | | |
4735 | 4760 | | |
| 4761 | + | |
| 4762 | + | |
| 4763 | + | |
4736 | 4764 | | |
4737 | 4765 | | |
4738 | 4766 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
| 685 | + | |
685 | 686 | | |
686 | 687 | | |
687 | 688 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
976 | 976 | | |
977 | 977 | | |
978 | 978 | | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
979 | 991 | | |
980 | 992 | | |
981 | 993 | | |
| |||
0 commit comments