From: Tom Lane <tgl@sss.pgh.pa.us>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Andreas Seltenreich <seltenreich@gmx.de>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [sqlsmith] Infinite recursion in bitshift
Date: Fri, 14 Oct 2016 16:44:14 -0400
Message-ID: <30869.1476477854@sss.pgh.pa.us> (raw)
In-Reply-To: <CAHyXU0yi9p-_Cabrqm5n7TqLCiWeQU5aET2j88BaT-gjMmszAw@mail.gmail.com>
References: <87d1j2zqtz.fsf@credativ.de>
<17165.1476473076@sss.pgh.pa.us>
<877f9azpv1.fsf@credativ.de>
<30239.1476477079@sss.pgh.pa.us>
<CAHyXU0yi9p-_Cabrqm5n7TqLCiWeQU5aET2j88BaT-gjMmszAw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, mmoncure@gmail.com, seltenreich@gmx.de
Subject: Re: [sqlsmith] Infinite recursion in bitshift
In-Reply-To: <30869.1476477854@sss.pgh.pa.us>
References: <87d1j2zqtz.fsf@credativ.de> <17165.1476473076@sss.pgh.pa.us> <877f9azpv1.fsf@credativ.de> <30239.1476477079@sss.pgh.pa.us> <CAHyXU0yi9p-_Cabrqm5n7TqLCiWeQU5aET2j88BaT-gjMmszAw@mail.gmail.com> <30869.1476477854@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox