Re: [sqlsmith] Infinite recursion in bitshift

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [sqlsmith] Infinite recursion in bitshift
Дата
Msg-id 30869.1476477854@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [sqlsmith] Infinite recursion in bitshift  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-hackers
Merlin Moncure <mmoncure@gmail.com> writes:
> On Fri, Oct 14, 2016 at 3:31 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Poking around in varbit.c, I noticed some other places that were assuming
>> that a typmod couldn't exceed VARBITMAXLEN.

> Curious -- are there real world scenarios where this would happen?

I think you'd have to be intentionally trying to break it.  The largest
varbit typmod you're allowed to declare normally is only ~ 80 million.
        regards, tom lane



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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: [sqlsmith] Infinite recursion in bitshift
Следующее
От: Corey Huinker
Дата:
Сообщение: Re: COPY as a set returning function