forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5dfd564
committed
Fix IF NOT EXISTS in CREATE STATISTICS
I misplaced the IF NOT EXISTS clause in commit7b504eb, before theword STATISTICS. Put it where it belongs.Patch written independently by Amit Langote and myself. I adopted hissubmitted test case with a slight edit also.Reported-by: Bruno Wolff IIIDiscussion:https://postgr.es/m/20170621004237.GB8337@wolff.to1 parent2c77903 commit5dfd564
File tree
3 files changed
+25
-11
lines changed- src
- backend/parser
- test/regress
- expected
- sql
3 files changed
+25
-11
lines changedLines changed: 18 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3834 | 3834 |
| |
3835 | 3835 |
| |
3836 | 3836 |
| |
3837 |
| - | |
| 3837 | + | |
3838 | 3838 |
| |
3839 | 3839 |
| |
3840 | 3840 |
| |
| |||
3846 | 3846 |
| |
3847 | 3847 |
| |
3848 | 3848 |
| |
3849 |
| - | |
| 3849 | + | |
3850 | 3850 |
| |
3851 | 3851 |
| |
3852 | 3852 |
| |
3853 |
| - | |
3854 |
| - | |
3855 |
| - | |
3856 |
| - | |
3857 |
| - | |
| 3853 | + | |
| 3854 | + | |
| 3855 | + | |
| 3856 | + | |
| 3857 | + | |
| 3858 | + | |
| 3859 | + | |
| 3860 | + | |
| 3861 | + | |
| 3862 | + | |
| 3863 | + | |
| 3864 | + | |
| 3865 | + | |
| 3866 | + | |
| 3867 | + | |
| 3868 | + | |
3858 | 3869 |
| |
3859 | 3870 |
| |
3860 | 3871 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
36 | 38 |
| |
37 | 39 |
| |
38 | 40 |
| |
|
Lines changed: 3 additions & 2 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 |
| |
|
0 commit comments
Comments
(0)