forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc11100d
committed
Move DTK_ISODOW DTK_DOW and DTK_DOY to be type UNITS rather than
RESERV. RESERV is meant for tokens like "now" and having them in thatcategory throws errors like these when used as an input date:stark=# SELECT 'doy'::timestamptz;ERROR: unexpected dtype 33 while parsing timestamptz "doy"LINE 1: SELECT 'doy'::timestamptz; ^stark=# SELECT 'dow'::timestamptz;ERROR: unexpected dtype 32 while parsing timestamptz "dow"LINE 1: SELECT 'dow'::timestamptz; ^Found by LLVM's Libfuzzer1 parent5692b4a commitc11100d
2 files changed
+43
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
| 106 | + | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4458 | 4458 | | |
4459 | 4459 | | |
4460 | 4460 | | |
| 4461 | + | |
| 4462 | + | |
| 4463 | + | |
| 4464 | + | |
| 4465 | + | |
| 4466 | + | |
| 4467 | + | |
| 4468 | + | |
| 4469 | + | |
| 4470 | + | |
| 4471 | + | |
| 4472 | + | |
| 4473 | + | |
| 4474 | + | |
| 4475 | + | |
| 4476 | + | |
| 4477 | + | |
| 4478 | + | |
| 4479 | + | |
| 4480 | + | |
4461 | 4481 | | |
4462 | 4482 | | |
4463 | 4483 | | |
| |||
4481 | 4501 | | |
4482 | 4502 | | |
4483 | 4503 | | |
4484 | | - | |
4485 | | - | |
4486 | | - | |
4487 | | - | |
4488 | | - | |
4489 | | - | |
4490 | | - | |
4491 | | - | |
4492 | | - | |
4493 | | - | |
4494 | | - | |
4495 | | - | |
4496 | | - | |
4497 | | - | |
4498 | | - | |
4499 | | - | |
4500 | | - | |
4501 | | - | |
4502 | | - | |
4503 | | - | |
4504 | 4504 | | |
4505 | 4505 | | |
4506 | 4506 | | |
| |||
4672 | 4672 | | |
4673 | 4673 | | |
4674 | 4674 | | |
| 4675 | + | |
| 4676 | + | |
| 4677 | + | |
| 4678 | + | |
| 4679 | + | |
| 4680 | + | |
| 4681 | + | |
| 4682 | + | |
| 4683 | + | |
| 4684 | + | |
| 4685 | + | |
| 4686 | + | |
| 4687 | + | |
| 4688 | + | |
| 4689 | + | |
| 4690 | + | |
| 4691 | + | |
| 4692 | + | |
| 4693 | + | |
| 4694 | + | |
4675 | 4695 | | |
4676 | 4696 | | |
4677 | 4697 | | |
| |||
4693 | 4713 | | |
4694 | 4714 | | |
4695 | 4715 | | |
4696 | | - | |
4697 | | - | |
4698 | | - | |
4699 | | - | |
4700 | | - | |
4701 | | - | |
4702 | | - | |
4703 | | - | |
4704 | | - | |
4705 | | - | |
4706 | | - | |
4707 | | - | |
4708 | | - | |
4709 | | - | |
4710 | | - | |
4711 | | - | |
4712 | | - | |
4713 | | - | |
4714 | | - | |
4715 | | - | |
4716 | 4716 | | |
4717 | 4717 | | |
4718 | 4718 | | |
| |||
0 commit comments
Comments
(0)