forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfc7c281
committed
Make VACUUM accept 1 and 0 as a boolean value.
Commit41b54ba allowed existing VACUUM options to take a booleanargument. It's documented that valid boolean values that VACUUM canaccept are true, false, on, off, 1, and 0. But previously the parserfailed to accept 1 and 0 as a boolean value in VACUUM syntax becauseof a lack of NumericOnly clause for vac_analyze_option_arg in gram.y.This commit adds such NumericOnly clause so that VACUUM optionscan take also 1 and 0 as a boolean value.Discussion:https://postgr.es/m/CAHGQGwGYg82A8UCQxZe7Zn9MnyUBGdyB=1CNpKF3jBny+RbyfA@mail.gmail.com1 parent3c439a5 commitfc7c281
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10583 | 10583 |
| |
10584 | 10584 |
| |
10585 | 10585 |
| |
| 10586 | + | |
10586 | 10587 |
| |
10587 | 10588 |
| |
10588 | 10589 |
| |
|
0 commit comments
Comments
(0)