aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pseudorandomfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2024-03-26 16:02:37 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2024-03-26 16:02:44 -0400
commit9d00cf47722a5d2876fc5c7727a395c0348dd304 (patch)
treecf230ca6014357774dc0422e0ea63595799afe36 /src/backend/utils/adt/pseudorandomfuncs.c
parentd365ae705409f5d9c81da4b668f59c3598feb512 (diff)
downloadpostgresql-9d00cf47722a5d2876fc5c7727a395c0348dd304.tar.gz
postgresql-9d00cf47722a5d2876fc5c7727a395c0348dd304.zip
Remove some redundant set_cheapest() calls.
Commit e2fa76d80 centralized the responsibility for doing set_cheapest() for a baserel, but these functions added later seemingly didn't get the memo. There's no apparent reason why we need the cheapest path for these relation types to be available any sooner than it is for other base relation types, so delete the duplicate calls. Doesn't save much since there's only one path in these cases, but it might improve clarity. Richard Guo Discussion: https://postgr.es/m/CAMbWs4-KFEU_fDuJPNCOkUu3rwvZvKBEytkd9VrM4kH4-2h1CQ@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/pseudorandomfuncs.c')
0 files changed, 0 insertions, 0 deletions