forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit061bf98
committed
pgstat: replace double lookup with IsSharedRelation()
As the list of shared relations is fixed, we can just dispatch basedIsSharedRelation(), instead of first trying to look up stats for a non-sharedrel and falling back to shared stats.Author: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>Reviewed-by: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>Reviewed-by: Andres Freund <andres@anarazel.deDiscussion:https://postgr.es/m/8c1851a2-a98e-e1bc-7729-37b0b95f66ec@gmail.com1 parentb623037 commit061bf98
1 file changed
+2
-11
lines changedLines changed: 2 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| 28 | + | |
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
| |||
437 | 438 |
| |
438 | 439 |
| |
439 | 440 |
| |
440 |
| - | |
441 |
| - | |
442 |
| - | |
443 |
| - | |
444 |
| - | |
445 |
| - | |
446 |
| - | |
447 |
| - | |
448 |
| - | |
449 |
| - | |
450 |
| - | |
| 441 | + | |
451 | 442 |
| |
452 | 443 |
| |
453 | 444 |
| |
|
0 commit comments
Comments
(0)