Обсуждение: pgsql: Remove useless if-test.

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

pgsql: Remove useless if-test.

От
Tom Lane
Дата:
Remove useless if-test.

Coverity complained that this check is pointless, and it's right.
There is no case where we'd call ExecutorStart with a null plannedstmt,
and if we did, it'd have crashed before here.  Thinko in commit cc415a56d.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3a2cb59887421a04b5ee158580198d731d115c61

Modified Files
--------------
src/backend/executor/execMain.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)