unreachable code in partition.c

From: Jeevan Ladhe <jeevan(dot)ladhe(at)enterprisedb(dot)com>
To: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: unreachable code in partition.c
Date: 2017-05-23 18:06:13
Message-ID: CAOgcT0Mn_LcHdTWpbKckkBVtNdQ3w_815_i_riC+Q-zKvzMTZg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
partition_remove_dead_code.patch application/octet-stream 543 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2017-05-23 18:32:32 FW: PGBuildfarm member peripatus Branch REL9_2_STABLE Failed at Stage PLCheck-C
Previous Message Petr Jelinek 2017-05-23 17:57:16 Re: walsender & parallelism