forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd3406d8
committed
Fix handling of default option values in createuser
Add description of which one is the default between two complementaryoptions of --bypassrls and --replication in the help text and docs. Incorrespondence let the command always include the tokens correspondingto every options of that kind in the SQL command sent to server. Testsare updated accordingly.Also fix the checks of some trivalue vars which were using literal zerofor checking default value instead of the enum label TRI_DEFAULT. Whilenot a bug, since TRI_DEFAULT is defined as zero, fixing improves read-ability improved readability (and avoid bugs if the enum is changed).Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com>Discussion:https://postgr.es/m/20220810.151243.1073197628358749087.horikyota.ntt@gmail.com1 parent4211fbd commitd3406d8
File tree
3 files changed
+24
-17
lines changed- doc/src/sgml/ref
- src/bin/scripts
- t
3 files changed
+24
-17
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
348 | 348 |
| |
349 | 349 |
| |
350 | 350 |
| |
351 |
| - | |
| 351 | + | |
352 | 352 |
| |
353 | 353 |
| |
354 | 354 |
| |
|
Lines changed: 14 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
239 | 239 |
| |
240 | 240 |
| |
241 | 241 |
| |
242 |
| - | |
| 242 | + | |
243 | 243 |
| |
244 | 244 |
| |
245 | 245 |
| |
| |||
254 | 254 |
| |
255 | 255 |
| |
256 | 256 |
| |
257 |
| - | |
| 257 | + | |
258 | 258 |
| |
259 | 259 |
| |
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
263 | 263 |
| |
264 | 264 |
| |
265 |
| - | |
| 265 | + | |
266 | 266 |
| |
267 | 267 |
| |
268 | 268 |
| |
269 | 269 |
| |
270 | 270 |
| |
271 | 271 |
| |
272 | 272 |
| |
273 |
| - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
274 | 280 |
| |
275 | 281 |
| |
276 |
| - | |
| 282 | + | |
277 | 283 |
| |
278 | 284 |
| |
279 | 285 |
| |
| |||
432 | 438 |
| |
433 | 439 |
| |
434 | 440 |
| |
435 |
| - | |
| 441 | + | |
| 442 | + | |
436 | 443 |
| |
437 |
| - | |
| 444 | + | |
438 | 445 |
| |
439 | 446 |
| |
440 | 447 |
| |
|
Lines changed: 9 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
| 41 | + | |
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 |
| - | |
| 53 | + | |
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
61 |
| - | |
| 61 | + | |
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
|
0 commit comments
Comments
(0)