Re: [HACKERS] unreachable code in partition.c - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] unreachable code in partition.c
Date
Msg-id CA+TgmoaX0dkvSogB7QbAka63C6cXV2_o6uxNZi0137QOsqNjTA@mail.gmail.com
Whole thread Raw
In response to [HACKERS] unreachable code in partition.c  (Jeevan Ladhe <jeevan.ladhe@enterprisedb.com>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: retry shm attach for windows (WAS: Re: [HACKERS] OK, so culicidaeis *still* broken)
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] [PATCH v1] Add and report the new "in_hot_standby" GUC pseudo-variable.