forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitff59d5d
committed
Provide feature-test macros for libpq features added in v17.
As per the policy established in commit6991e77, invent macrosthat can be tested at compile time to detect presence of new libpqfeatures. This should make calling code more readable and lesserror-prone than checking the libpq version would be (especiallysince we don't expose that at compile time; the server version isan unreliable substitute).Discussion:https://postgr.es/m/2042418.1724346970@sss.pgh.pa.us1 parenta2bbc58 commitff59d5d
1 file changed
+18
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
| 35 | + | |
35 | 36 |
| |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
| 40 | + | |
| 41 | + | |
39 | 42 |
| |
40 | 43 |
| |
41 | 44 |
| |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
42 | 59 |
| |
43 | 60 |
| |
44 | 61 |
| |
|
0 commit comments
Comments
(0)