From: Tom Lane <tgl@sss.pgh.pa.us>
To: Yeb Havinga <yebhavinga@gmail.com>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: pgsql-bugs@postgresql.org
Cc: w.p.dijkstra@mgrid.net <w.p.dijkstra@mgrid.net>
Subject: Re: BUG #5748: Invalid oidvector data during binary recv
Date: Thu, 11 Nov 2010 15:57:15 -0500
Message-ID: <21322.1289509035@sss.pgh.pa.us> (raw)
In-Reply-To: <4CDC4E77.9040107@gmail.com>
References: <201011111430.oABEUVPe067398@wwwmaster.postgresql.org>
<15298.1289490490@sss.pgh.pa.us>
<4CDC15A5.7050003@gmail.com>
<4CDC1669.5060909@enterprisedb.com>
<4CDC1F1C.2030409@gmail.com>
<16673.1289494618@sss.pgh.pa.us>
<4CDC4E77.9040107@gmail.com>
Yeb Havinga <yebhavinga@gmail.com> writes:
> Anyway I now have troubles to make a good test case to trip the lbound
> check.
I don't believe you ever did have a test case that would trip the lbound
check. What was failing was the ARR_NDIM == 1 check. If you were to
look at the array in gdb, the apparent value of the lbound would be
indeterminate because it's off the end of the allocated space for a
zero-D array. But the code wouldn't be reaching that test.
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, yebhavinga@gmail.com, heikki.linnakangas@enterprisedb.com, w.p.dijkstra@mgrid.net
Subject: Re: BUG #5748: Invalid oidvector data during binary recv
In-Reply-To: <21322.1289509035@sss.pgh.pa.us>
References: <201011111430.oABEUVPe067398@wwwmaster.postgresql.org> <15298.1289490490@sss.pgh.pa.us> <4CDC15A5.7050003@gmail.com> <4CDC1669.5060909@enterprisedb.com> <4CDC1F1C.2030409@gmail.com> <16673.1289494618@sss.pgh.pa.us> <4CDC4E77.9040107@gmail.com> <21322.1289509035@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