pgsql: ecpg: avoid adding whitespace around '&' in connection URLs.
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | pgsql: ecpg: avoid adding whitespace around '&' in connection URLs. |
| Дата | |
| Msg-id | E1swkkg-00291W-D5@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
ecpg: avoid adding whitespace around '&' in connection URLs. The preprocessor really should not have done this to begin with. The space after '&' was masked by ECPGconnect's skipping spaces before option keywords, and the space before by dint of libpq being (mostly) insensitive to trailing space in option values. We fixed the one known problem with that in 920d51979. Hence this patch is mostly cosmetic, and we'll just change it in HEAD. Discussion: https://postgr.es/m/TY2PR01MB36286A7B97B9A15793335D18C1772@TY2PR01MB3628.jpnprd01.prod.outlook.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/f22e84df1dea96c8f4b0f7369ea60607fbb9ce10 Modified Files -------------- src/interfaces/ecpg/ecpglib/connect.c | 5 ++++- src/interfaces/ecpg/preproc/ecpg.trailer | 2 +- src/interfaces/ecpg/test/expected/connect-test5.c | 2 +- src/interfaces/ecpg/test/expected/connect-test5.stderr | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера