Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 0A775B5D8B2 for ; Mon, 23 May 2011 12:36:52 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 52053-04 for ; Mon, 23 May 2011 15:36:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id C3071B5DC0A for ; Mon, 23 May 2011 12:36:44 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p4NFadqE013684; Mon, 23 May 2011 11:36:39 -0400 (EDT) To: Heikki Linnakangas cc: Dean Rasheed , pgsql-bugs@postgresql.org Subject: Re: Seg-fault in format(text) In-reply-to: <4DDA78FB.2020103@enterprisedb.com> References: <12736.1306161191@sss.pgh.pa.us> <4DDA78FB.2020103@enterprisedb.com> Comments: In-reply-to Heikki Linnakangas message dated "Mon, 23 May 2011 18:10:51 +0300" Date: Mon, 23 May 2011 11:36:38 -0400 Message-ID: <13683.1306164998@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/156 X-Sequence-Number: 30295 Heikki Linnakangas writes: > It's a stretch that we'd ever support two billion arguments in any form, > but an explicit check for "arg < 0" would make me feel better. No objection here, especially since I've just determined that bug #6035 is also some kind of unhandled-overflow problem... Do you want to take care of this one? regards, tom lane