forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit20b6847
committed
Fix new pg_publication_tables query.
The addition of published column names forgot to filter on attisdropped,leading to cases where you could see "........pg.dropped.1........"or the like as a reportedly-published column.While we're here, rewrite the new subquery to get a more efficient planfor it.Hou Zhijie, per report from Jaime Casanova. Back-patch to v15 wherethe bug was introduced. (Sadly, this means we need a post-beta4catversion bump before beta4 has even hit the streets. I see nogood alternative though.)Discussion:https://postgr.es/m/Yxa1SU4nH2HfN3/i@ahch-to1 parentcec2754 commit20b6847
File tree
3 files changed
+7
-13
lines changed- src
- backend/catalog
- include/catalog
- test/regress/expected
3 files changed
+7
-13
lines changedLines changed: 4 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
370 | 370 |
| |
371 | 371 |
| |
372 | 372 |
| |
373 |
| - | |
374 |
| - | |
375 |
| - | |
376 |
| - | |
377 |
| - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
378 | 377 |
| |
379 | 378 |
| |
380 | 379 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
| 60 | + | |
61 | 61 |
| |
62 | 62 |
|
Lines changed: 2 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1440 | 1440 |
| |
1441 | 1441 |
| |
1442 | 1442 |
| |
1443 |
| - | |
1444 |
| - | |
1445 |
| - | |
1446 |
| - | |
1447 |
| - | |
1448 |
| - | |
1449 |
| - | |
| 1443 | + | |
| 1444 | + | |
1450 | 1445 |
| |
1451 | 1446 |
| |
1452 | 1447 |
| |
|
0 commit comments
Comments
(0)