diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-02-27 11:20:46 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-02-27 11:20:46 +0900 |
commit | 008cf040962c98c7c55d54c28dcb43c3c1d83c92 (patch) | |
tree | c45f3e7093f2b3210d1096fdaa7a7ddd476db657 /src/backend/utils/adt/jsonb_gin.c | |
parent | 2c0797da2c26dd5574e0d9128887c1fc2a385c25 (diff) | |
download | postgresql-008cf040962c98c7c55d54c28dcb43c3c1d83c92.tar.gz postgresql-008cf040962c98c7c55d54c28dcb43c3c1d83c92.zip |
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
Diffstat (limited to 'src/backend/utils/adt/jsonb_gin.c')
0 files changed, 0 insertions, 0 deletions