pgsql: createdb: Fix quoting of --encoding, --lc-ctype and --lc-collate
В списке pgsql-committers по дате отправления:
| От | Michael Paquier |
|---|---|
| Тема | pgsql: createdb: Fix quoting of --encoding, --lc-ctype and --lc-collate |
| Дата | |
| Msg-id | E1j78pp-0005GG-Ao@gemulon.postgresql.org обсуждение |
| Ответы |
Re: pgsql: createdb: Fix quoting of --encoding, --lc-ctype and --lc-collate
|
| Список | pgsql-committers |
createdb: Fix quoting of --encoding, --lc-ctype and --lc-collate The original coding failed to properly quote those arguments, leading to failures when using quotes in the values used. As the quoting can be encoding-sensitive, the connection to the backend needs to be taken before applying the correct quoting. Author: Michael Paquier Reviewed-by: Daniel Gustafsson Discussion: https://postgr.es/m/20200214041004.GB1998@paquier.xyz Backpatch-through: 9.5 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/008cf040962c98c7c55d54c28dcb43c3c1d83c92 Modified Files -------------- src/bin/scripts/createdb.c | 29 +++++++++++++++++++---------- src/bin/scripts/t/020_createdb.pl | 26 +++++++++++++++++++++++++- 2 files changed, 44 insertions(+), 11 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера