aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-02-27 11:21:00 +0900
committerMichael Paquier <michael@paquier.xyz>2020-02-27 11:21:00 +0900
commit943affb3d1db38ba0960ee9a0666ea2598b78f1f (patch)
tree564e33b98c1c64b782061052a929b3681e31ca80 /src/backend/parser/parse_utilcmd.c
parent30d5c6bf2e09fe76448e59e9889ab5b38171da34 (diff)
downloadpostgresql-943affb3d1db38ba0960ee9a0666ea2598b78f1f.tar.gz
postgresql-943affb3d1db38ba0960ee9a0666ea2598b78f1f.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/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions