Re: [HACKERS] unreachable code in partition.c

2017-05-24 Thread Robert Haas
On Tue, May 23, 2017 at 2:06 PM, Jeevan Ladhe 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

[HACKERS] unreachable code in partition.c

2017-05-23 Thread Jeevan Ladhe
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 partition_remove_dead_code.patch Description: Binary data -- Sent via pgsql-hackers mailing list (pgsql-