forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite256312
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 parent6e55ea7 commite256312
File tree
3 files changed
+7
-13
lines changed- src
- backend/catalog
- include/catalog
- test/regress/expected
3 files changed
+7
-13
lines changed| 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1439 | 1439 | | |
1440 | 1440 | | |
1441 | 1441 | | |
1442 | | - | |
1443 | | - | |
1444 | | - | |
1445 | | - | |
1446 | | - | |
1447 | | - | |
1448 | | - | |
| 1442 | + | |
| 1443 | + | |
1449 | 1444 | | |
1450 | 1445 | | |
1451 | 1446 | | |
| |||
0 commit comments
Comments
(0)