]> granicus.if.org Git - postgresql/commit
Remove unnecessary TYPECACHE_GT_OPR lookup
authorTomas Vondra <tomas.vondra@postgresql.org>
Wed, 17 Jul 2019 16:13:39 +0000 (18:13 +0200)
committerTomas Vondra <tomas.vondra@postgresql.org>
Thu, 18 Jul 2019 09:30:12 +0000 (11:30 +0200)
commit3944e855bc5bee32d99a9ba2245a026d4bafe282
treed3c17e54cd25d4f85ce84bc94f5e26afe10df772
parentfa7bb9345370ab69cac24b7213262f36567d9c9c
Remove unnecessary TYPECACHE_GT_OPR lookup

The TYPECACHE_GT_OPR is not needed (it used to be in older version of
the MCV code), but the compiler failed to detect this as the result was
used in a fmgr_info() call, populating a FmgrInfo entry.

Backpatch to v12, where this code was introduced.

Discussion: https://postgr.es/m/8736jdhbhc.fsf%40ansel.ydns.eu
Backpatch-to: 12
src/backend/statistics/mcv.c