pgsql: Remove useless if-test. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove useless if-test.
Date
Msg-id E1f0Amb-0000vw-N5@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Exclude unlogged tables from base backups
Next
From: Peter Eisentraut
Date:
Subject: pgsql: initdb: Further polishing of --wal-segsize option