pgsql: Correctly initialize newly added struct member

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Correctly initialize newly added struct member
Date: 2019-04-03 12:59:31
Message-ID: E1hBfUJ-0005Pa-4K@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Correctly initialize newly added struct member

Valgrind was rightly complaining that IndexVacuumInfo->report_progress
(added by commit ab0dfc961b6a) was not being initialized in some code
paths. Repair.

Per buildfarm member lousyjack.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5f768045a1a25847a3eea59d309e28c8141aed44

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2019-04-03 14:06:49 pgsql: Generate less WAL during GiST, GIN and SP-GiST index build.
Previous Message Alvaro Herrera 2019-04-03 01:51:45 Re: pgsql: Report progress of CREATE INDEX operations