Remove unnecessary TYPECACHE_GT_OPR lookup

Tomas Vondra <tomas.vondra@postgresql.org>

Commit: a4303a078c661ebafe8c8c2167b2ad9bf16b32ce
Author: Tomas Vondra <tomas.vondra@postgresql.org>
Date: 2019-07-18T09:29:38Z
Releases: 13.0
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

Files

PathChange+/−
src/backend/statistics/mcv.c modified +0 −6

Discussion