- Notifications
You must be signed in to change notification settings - Fork5k
Commiteb6af64
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 parentf0d72ef commiteb6af64
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2231 | 2231 |
| |
2232 | 2232 |
| |
2233 | 2233 |
| |
2234 |
| - | |
| 2234 | + | |
2235 | 2235 |
| |
2236 | 2236 |
| |
2237 | 2237 |
| |
| |||
2344 | 2344 |
| |
2345 | 2345 |
| |
2346 | 2346 |
| |
| 2347 | + | |
2347 | 2348 |
| |
2348 | 2349 |
| |
2349 | 2350 |
| |
|
0 commit comments
Comments
(0)