pgsql: Remove unnecessary TYPECACHE_GT_OPR lookup

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема pgsql: Remove unnecessary TYPECACHE_GT_OPR lookup
Дата
Msg-id E1ho2k8-0004FZ-D7@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: pgsql: Remove unnecessary TYPECACHE_GT_OPR lookup
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Further adjust SPITupleTable to provide a public row-countfield