Re: Error check always bypassed in tablefunc.c

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Error check always bypassed in tablefunc.c
Дата
Msg-id 20150116153301.GU1663@alvh.no-ip.org
обсуждение исходный текст
Ответ на Error check always bypassed in tablefunc.c  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Error check always bypassed in tablefunc.c  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
Michael Paquier wrote:

> As mentioned in $subject, commit 08c33c4 of 2003 has made the
> following block of code dead in tablefunc.c:1320 because level is
> incremented to at least 1:
>                 /* First time through, do a little more setup */
>                 if (level == 0)
>                 {

Uh.  This means the error case has no test coverage ...

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: orangutan seizes up during isolation-check
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: orangutan seizes up during isolation-check