diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-02-27 11:21:23 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-02-27 11:21:23 +0900 |
commit | 3340034f2c19730c1253dacbb07c3bf4f44f49af (patch) | |
tree | 6a0031140cb401b18340234c19aa31ad81bd2aa1 /src/tutorial/funcs_new.c | |
parent | 3e5308969aca4f2ce2dcd3766f9fe953b86b2a0c (diff) |
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/tutorial/funcs_new.c')
0 files changed, 0 insertions, 0 deletions