diff options
author | Andres Freund | 2022-11-20 18:53:31 +0000 |
---|---|---|
committer | Andres Freund | 2022-11-20 18:56:32 +0000 |
commit | 061bf98fb8f468b9a8c9fb617bb30136db1cc812 (patch) | |
tree | baa03237370992bdb8f5fcf15027a63f6697ba6f /doc/src | |
parent | b62303794efd97f2afb55f1e1b82fffae2cf8a2d (diff) |
pgstat: replace double lookup with IsSharedRelation()
As the list of shared relations is fixed, we can just dispatch based
IsSharedRelation(), instead of first trying to look up stats for a non-shared
rel and falling back to shared stats.
Author: "Drouvot, Bertrand" <[email protected]>
Reviewed-by: Bharath Rupireddy <[email protected]>
Reviewed-by: Andres Freund <[email protected]
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions