[HACKERS] unreachable code in partition.c

Поиск
Список
Период
Сортировка
Искать

[HACKERS] unreachable code in partition.c

От:
Jeevan Ladhe <jeevan.ladhe@enterprisedb.com>
Дата:
Вложения:
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: [HACKERS] unreachable code in partition.c

От:
Robert Haas <robertmhaas@gmail.com>
Дата:
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
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


FAQ