unreachable code in partition.c
Started by Jeevan Ladheover 9 years ago2 messageshackers
Stepping through
Hi,
Following code in function get_qual_for_list(partition.c) is not reachable.
else
result = list_make1(opexpr);
Attached is the patch that removes this dead code.
Regards,
Jeevan Ladhe
Re: unreachable code in partition.c
On Tue, May 23, 2017 at 2:06 PM, Jeevan Ladhe
<jeevan.ladhe@enterprisedb.com> wrote:
Following code in function get_qual_for_list(partition.c) is not reachable.
else
result = list_make1(opexpr);Attached is the patch that removes this dead code.
Committed, but I added an Assert() as future-proofing.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers