pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Remove unnecessary TYPECACHE_GT_OPR lookup
2+ messages / 1 participants
[nested] [flat]

* pgsql: Remove unnecessary TYPECACHE_GT_OPR lookup
@ 2019-07-18 09:30  Tomas Vondra <tomas.vondra@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tomas Vondra @ 2019-07-18 09:30 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a4303a078c661ebafe8c8c2167b2ad9bf16b32ce

Modified Files
--------------
src/backend/statistics/mcv.c | 6 ------
1 file changed, 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Remove unnecessary TYPECACHE_GT_OPR lookup
@ 2019-07-18 09:30  Tomas Vondra <tomas.vondra@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tomas Vondra @ 2019-07-18 09:30 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3944e855bc5bee32d99a9ba2245a026d4bafe282

Modified Files
--------------
src/backend/statistics/mcv.c | 6 ------
1 file changed, 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-07-18 09:30 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-07-18 09:30 pgsql: Remove unnecessary TYPECACHE_GT_OPR lookup Tomas Vondra <tomas.vondra@postgresql.org>
2019-07-18 09:30 pgsql: Remove unnecessary TYPECACHE_GT_OPR lookup Tomas Vondra <tomas.vondra@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox