diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-02-27 11:21:28 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-02-27 11:21:28 +0900 |
commit | 49300e4cf2da9988eb5caa94f18779cfa72ec698 (patch) | |
tree | 6e35842cc63b5e6876cae6c7a2ca585d2f915a4f /src/backend/access/gist/gistget.c | |
parent | bbefb11541890d9add4b3b1ab2c53b26f4fc386b (diff) | |
download | postgresql-49300e4cf2da9988eb5caa94f18779cfa72ec698.tar.gz postgresql-49300e4cf2da9988eb5caa94f18779cfa72ec698.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/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions