Re: patch to disallow zero length paths in binary (minor bug fix)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: patch to disallow zero length paths in binary (minor bug fix)
Дата
Msg-id 25954.1197930324@sss.pgh.pa.us
обсуждение исходный текст
Ответ на patch to disallow zero length paths in binary (minor bug fix)  ("Merlin Moncure" <mmoncure@gmail.com>)
Список pgsql-patches
"Merlin Moncure" <mmoncure@gmail.com> writes:
> Following is a patch to force the path type not to accept a path with
> zero points.  This appears to be illegal in the parser, but possible
> when sending a well formed packed in binary with zero points.

Hmm, looks like poly_recv has the same mistake.

Ideally I think it'd be a good idea if these types did allow zero
elements, but that would clearly be a feature extension more than a bug
fix, since the implications aren't entirely obvious.  I concur with
disallowing the case for existing branches.  Will go apply.

            regards, tom lane

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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: patch to disallow zero length paths in binary (minor bug fix)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: archiver ps display