forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd84ffff
committed
Add DISTINCT to information schema usage views
Since pg_depend can contain duplicate entries, we need to eliminatethose in information schema views that build on pg_depend, usingDISTINCT. Some of the older views already did that correctly, butsome of the more recently added ones didn't. (In some of these views,it might not be possible to reproduce the issue because of how theimplementation happens to deduplicate dependencies while recordingthem, but it seems better to keep this consistent in all cases.)1 parent39d0928 commitd84ffff
File tree
2 files changed
+13
-7
lines changed- src
- backend/catalog
- include/catalog
2 files changed
+13
-7
lines changedLines changed: 12 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
406 | 406 |
| |
407 | 407 |
| |
408 | 408 |
| |
409 |
| - | |
| 409 | + | |
| 410 | + | |
410 | 411 |
| |
411 | 412 |
| |
412 | 413 |
| |
| |||
505 | 506 |
| |
506 | 507 |
| |
507 | 508 |
| |
508 |
| - | |
| 509 | + | |
| 510 | + | |
509 | 511 |
| |
510 | 512 |
| |
511 | 513 |
| |
| |||
1325 | 1327 |
| |
1326 | 1328 |
| |
1327 | 1329 |
| |
1328 |
| - | |
| 1330 | + | |
| 1331 | + | |
1329 | 1332 |
| |
1330 | 1333 |
| |
1331 | 1334 |
| |
| |||
1434 | 1437 |
| |
1435 | 1438 |
| |
1436 | 1439 |
| |
1437 |
| - | |
| 1440 | + | |
| 1441 | + | |
1438 | 1442 |
| |
1439 | 1443 |
| |
1440 | 1444 |
| |
| |||
1462 | 1466 |
| |
1463 | 1467 |
| |
1464 | 1468 |
| |
1465 |
| - | |
| 1469 | + | |
| 1470 | + | |
1466 | 1471 |
| |
1467 | 1472 |
| |
1468 | 1473 |
| |
| |||
1493 | 1498 |
| |
1494 | 1499 |
| |
1495 | 1500 |
| |
1496 |
| - | |
| 1501 | + | |
| 1502 | + | |
1497 | 1503 |
| |
1498 | 1504 |
| |
1499 | 1505 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
0 commit comments
Comments
(0)