Обсуждение: pgsql: Initialize t_self and t_tableOid in statext_expressions_load

Поиск
Список
Период
Сортировка

pgsql: Initialize t_self and t_tableOid in statext_expressions_load

От
Tomas Vondra
Дата:
Initialize t_self and t_tableOid in statext_expressions_load

The function is building a fake heap tuple, but left some of the header
fields (tid and table OID) uninitialized. Per Coverity report.

Reported-by: Ranier Vilela
Discussion: https://postgr.es/m/CAEudQApj6h8tZ0-eP5Af5PKc5NG1YUc7=SdN_99YoHS51fKa0Q@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/20661c15db8f430d4880ba685e6b12afa271c1ac

Modified Files
--------------
src/backend/statistics/extended_stats.c | 2 ++
1 file changed, 2 insertions(+)