summaryrefslogtreecommitdiff
path: root/src/backend/commands/cluster.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-02-27 11:21:14 +0900
committerMichael Paquier <michael@paquier.xyz>2020-02-27 11:21:14 +0900
commit240c7c75f3a9946509c9c6f9f5062b56cec627ae (patch)
treefce2e3d491ff62a6cef38f87ae6ab36c02b65b50 /src/backend/commands/cluster.c
parent1de4a823f9dea3bdc2dba2fe0b9b90c06cfd6fbb (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/backend/commands/cluster.c')
0 files changed, 0 insertions, 0 deletions