forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite60b480
committed
libpq should expose GSS-related parameters even when not implemented.
We realized years ago that it's better for libpq to accept allconnection parameters syntactically, even if some are ignored orrestricted due to lack of the feature in a particular build.However, that lesson from the SSL support was for some reason neverapplied to the GSSAPI support. This is causing various buildfarmmembers to have problems with a test case added by commit6136e94,and it's just a bad idea from a user-experience standpoint anyway,so fix it.While at it, fix some places where parameter-related infrastructurewas added with the aid of a dartboard, or perhaps with the aid ofthe anti-pattern "add new stuff at the end". It should be safeto rearrange the contents of struct pg_conn even in releasedbranches, since that's private to libpq (and we'd have to movesome fields in some builds to fix this, anyway).Back-patch to all supported branches.Discussion:https://postgr.es/m/11297.1576868677@sss.pgh.pa.us1 parent77f416a commite60b480
File tree
5 files changed
+31
-48
lines changed- contrib/postgres_fdw
- expected
- sql
- doc/src/sgml
- src/interfaces/libpq
5 files changed
+31
-48
lines changedLines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
135 |
| - | |
136 |
| - | |
| 135 | + | |
| 136 | + | |
137 | 137 |
| |
138 | 138 |
| |
139 | 139 |
| |
| |||
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
161 |
| - | |
| 161 | + | |
162 | 162 |
| |
163 |
| - | |
164 |
| - | |
| 163 | + | |
| 164 | + | |
165 | 165 |
| |
166 | 166 |
| |
167 | 167 |
| |
| |||
8855 | 8855 |
| |
8856 | 8856 |
| |
8857 | 8857 |
| |
8858 |
| - | |
| 8858 | + | |
8859 | 8859 |
| |
8860 | 8860 |
| |
8861 | 8861 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
145 | 145 |
| |
146 | 146 |
| |
147 | 147 |
| |
148 |
| - | |
149 |
| - | |
| 148 | + | |
| 149 | + | |
150 | 150 |
| |
151 | 151 |
| |
152 | 152 |
| |
| |||
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
174 |
| - | |
| 174 | + | |
175 | 175 |
| |
176 |
| - | |
177 |
| - | |
| 176 | + | |
| 177 | + | |
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1747 | 1747 |
| |
1748 | 1748 |
| |
1749 | 1749 |
| |
1750 |
| - | |
1751 |
| - | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
1752 | 1754 |
| |
1753 | 1755 |
| |
1754 | 1756 |
| |
|
Lines changed: 12 additions & 25 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
304 | 304 |
| |
305 | 305 |
| |
306 | 306 |
| |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
307 | 311 |
| |
308 | 312 |
| |
309 | 313 |
| |
| |||
317 | 321 |
| |
318 | 322 |
| |
319 | 323 |
| |
320 |
| - | |
321 |
| - | |
| 324 | + | |
| 325 | + | |
322 | 326 |
| |
323 | 327 |
| |
324 | 328 |
| |
325 | 329 |
| |
326 | 330 |
| |
327 |
| - | |
328 | 331 |
| |
329 | 332 |
| |
330 | 333 |
| |
331 | 334 |
| |
332 |
| - | |
333 |
| - | |
334 |
| - | |
335 | 335 |
| |
336 |
| - | |
337 |
| - | |
338 |
| - | |
339 |
| - | |
340 | 336 |
| |
341 | 337 |
| |
342 | 338 |
| |
343 |
| - | |
344 | 339 |
| |
345 | 340 |
| |
346 | 341 |
| |
| |||
351 | 346 |
| |
352 | 347 |
| |
353 | 348 |
| |
354 |
| - | |
355 |
| - | |
356 |
| - | |
357 |
| - | |
358 | 349 |
| |
359 | 350 |
| |
360 | 351 |
| |
| |||
3983 | 3974 |
| |
3984 | 3975 |
| |
3985 | 3976 |
| |
| 3977 | + | |
| 3978 | + | |
3986 | 3979 |
| |
3987 | 3980 |
| |
3988 | 3981 |
| |
| |||
3991 | 3984 |
| |
3992 | 3985 |
| |
3993 | 3986 |
| |
3994 |
| - | |
3995 |
| - | |
3996 | 3987 |
| |
3997 | 3988 |
| |
3998 |
| - | |
3999 | 3989 |
| |
4000 | 3990 |
| |
4001 |
| - | |
| 3991 | + | |
| 3992 | + | |
| 3993 | + | |
| 3994 | + | |
4002 | 3995 |
| |
4003 | 3996 |
| |
4004 | 3997 |
| |
| |||
4014 | 4007 |
| |
4015 | 4008 |
| |
4016 | 4009 |
| |
4017 |
| - | |
4018 |
| - | |
4019 |
| - | |
4020 |
| - | |
4021 | 4010 |
| |
4022 | 4011 |
| |
4023 | 4012 |
| |
| |||
4034 | 4023 |
| |
4035 | 4024 |
| |
4036 | 4025 |
| |
4037 |
| - | |
4038 |
| - | |
4039 | 4026 |
| |
4040 | 4027 |
| |
4041 | 4028 |
| |
|
Lines changed: 4 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
359 | 359 |
| |
360 | 360 |
| |
361 | 361 |
| |
| 362 | + | |
362 | 363 |
| |
363 | 364 |
| |
364 | 365 |
| |
365 |
| - | |
366 |
| - | |
| 366 | + | |
367 | 367 |
| |
368 |
| - | |
| 368 | + | |
| 369 | + | |
369 | 370 |
| |
370 | 371 |
| |
371 | 372 |
| |
| |||
484 | 485 |
| |
485 | 486 |
| |
486 | 487 |
| |
487 |
| - | |
488 | 488 |
| |
489 | 489 |
| |
490 | 490 |
| |
| |||
496 | 496 |
| |
497 | 497 |
| |
498 | 498 |
| |
499 |
| - | |
500 |
| - | |
501 |
| - | |
502 |
| - | |
503 | 499 |
| |
504 | 500 |
| |
505 | 501 |
| |
| |||
512 | 508 |
| |
513 | 509 |
| |
514 | 510 |
| |
515 |
| - | |
516 |
| - | |
517 | 511 |
| |
518 | 512 |
| |
519 | 513 |
| |
|
0 commit comments
Comments
(0)