- Notifications
You must be signed in to change notification settings - Fork5k
Commitda5d4ea
committed
Make locale option behavior more consistent
Locale options can be specified for initdb, createdb, and CREATEDATABASE. In initdb, it has always been possible to specify --localeand then some --lc-* option to override a category. CREATE DATABASEand createdb didn't allow that, requiring either the all-categoriesoption or only per-category options. Inf2553d4, this was changed in CREATEDATABASE (perhaps by accident?) to be more like the initdb behavior,but createdb still had the old behavior.Now we change createdb to match the behavior of CREATE DATABASE andinitdb, and also update the documentation of CREATE DATABASE to matchthe new behavior, which was not done in the above commit.Author: Marina Polyakova <m.polyakova@postgrespro.ru>Reviewed-by: Justin Pryzby <pryzby@telsasoft.com>Discussion:https://www.postgresql.org/message-id/7c99c132dc9c0ac630e0127f032ac480@postgrespro.ru1 parent8e7a0b4 commitda5d4ea
File tree
2 files changed
+5
-8
lines changed- doc/src/sgml/ref
- src/bin/scripts
2 files changed
+5
-8
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
145 | 145 |
| |
146 | 146 |
| |
147 | 147 |
| |
148 |
| - | |
149 |
| - | |
| 148 | + | |
150 | 149 |
| |
151 | 150 |
| |
152 | 151 |
| |
|
Lines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
164 |
| - | |
165 |
| - | |
166 |
| - | |
167 |
| - | |
168 |
| - | |
169 |
| - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
170 | 168 |
| |
171 | 169 |
| |
172 | 170 |
| |
|
0 commit comments
Comments
(0)