forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit240c7c7
committed
createdb: Fix quoting of --encoding, --lc-ctype and --lc-collate
The original coding failed to properly quote those arguments, leading tofailures when using quotes in the values used. As the quoting can beencoding-sensitive, the connection to the backend needs to be takenbefore applying the correct quoting.Author: Michael PaquierReviewed-by: Daniel GustafssonDiscussion:https://postgr.es/m/20200214041004.GB1998@paquier.xyzBackpatch-through: 9.51 parent1de4a82 commit240c7c7
1 file changed
+19
-10
lines changedLines changed: 19 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
177 | 177 |
| |
178 | 178 |
| |
179 | 179 |
| |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
180 | 187 |
| |
181 | 188 |
| |
182 | 189 |
| |
| |||
187 | 194 |
| |
188 | 195 |
| |
189 | 196 |
| |
190 |
| - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
191 | 201 |
| |
192 | 202 |
| |
193 | 203 |
| |
194 |
| - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
195 | 208 |
| |
196 |
| - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
197 | 213 |
| |
198 | 214 |
| |
199 | 215 |
| |
200 |
| - | |
201 |
| - | |
202 |
| - | |
203 |
| - | |
204 |
| - | |
205 |
| - | |
206 |
| - | |
207 | 216 |
| |
208 | 217 |
| |
209 | 218 |
| |
|
0 commit comments
Comments
(0)