git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 1431524) | patch
createdb: Fix quoting of --encoding, --lc-ctype and --lc-collate
2020年2月27日 02:21:07 +0000 (11:21 +0900)
2020年2月27日 02:21:07 +0000 (11:21 +0900)
commit 83bd732eb2c83a26db9eefb4595615fa289620a8
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
src/bin/scripts/createdb.c diff | blob | blame | history
src/bin/scripts/t/020_createdb.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /