Обсуждение: pgsql: Fix uninitialized variable from commit a4d75c86b.

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

pgsql: Fix uninitialized variable from commit a4d75c86b.

От
Tom Lane
Дата:
Fix uninitialized variable from commit a4d75c86b.

The path for *exprs != NIL would misbehave, and likely crash,
since pull_varattnos expects its last argument to be valid
at call.

Found by Coverity --- we have no coverage of this path in
the regression tests.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9cb92334092fa75afc62a71243bbc1f4612ecfa4

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