forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitab1aaf3
committed
Expose the "*VALUES*" alias that we generate for a stand-alone VALUES list.
We were trying to make that strictly an internal implementation detail,but it turns out that it's exposed anyway when dumping a view definedlikeCREATE VIEW test_view AS VALUES (1), (2), (3) ORDER BY 1;This comes out asCREATE VIEW ... ORDER BY "*VALUES*".column1;which fails to parse when reloading the dump.Hacking ruleutils.c to suppress the column qualification looks like it'dbe a risky business, so instead promote the RTE alias to full-fledgedusability.Per bug #6049 from Dylan Adams. Back-patch to all supported branches.1 parentbc0550f commitab1aaf3
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
909 | 909 |
| |
910 | 910 |
| |
911 | 911 |
| |
912 |
| - | |
| 912 | + | |
913 | 913 |
| |
914 | 914 |
| |
915 | 915 |
| |
| |||
1034 | 1034 |
| |
1035 | 1035 |
| |
1036 | 1036 |
| |
| 1037 | + | |
1037 | 1038 |
| |
1038 | 1039 |
| |
1039 | 1040 |
| |
|
0 commit comments
Comments
(0)