forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3eb1bc6

Thomas G. Lockhart
Check explicitly for valid input strings for both TRUE and FALSE.
Allow true/false, yes/no, 1/0. Throw elog warning if anything else.Allow shorter strings, so "t", "tr", "tru" and "true" match "true".Old behavior accepted anything starting with "t" as TRUE, everything else as FALSE.1 parent200bc52 commit3eb1bc6
1 file changed
+19
-12
lines changedLines changed: 19 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
15 | 16 |
| |
16 | 17 |
| |
17 | 18 |
| |
| |||
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 | 30 |
| |
34 | 31 |
| |
35 | 32 |
| |
| |||
39 | 36 |
| |
40 | 37 |
| |
41 | 38 |
| |
42 |
| - | |
| 39 | + | |
| 40 | + | |
43 | 41 |
| |
44 | 42 |
| |
45 | 43 |
| |
46 | 44 |
| |
47 |
| - | |
| 45 | + | |
| 46 | + | |
48 | 47 |
| |
49 | 48 |
| |
50 | 49 |
| |
51 | 50 |
| |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
52 | 55 |
| |
53 |
| - | |
| 56 | + | |
| 57 | + | |
54 | 58 |
| |
55 | 59 |
| |
56 | 60 |
| |
57 | 61 |
| |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
58 | 66 |
| |
59 |
| - | |
| 67 | + | |
| 68 | + | |
60 | 69 |
| |
61 | 70 |
| |
62 | 71 |
| |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 | 72 |
| |
67 | 73 |
| |
68 | 74 |
| |
| 75 | + | |
69 | 76 |
| |
70 | 77 |
| |
71 | 78 |
| |
|
0 commit comments
Comments
(0)