pgsql: Remove useless if-test.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Remove useless if-test.
Дата
Msg-id E1f0Amb-0000vw-N5@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Exclude unlogged tables from base backups
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: initdb: Further polishing of --wal-segsize option