pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Yeb Havinga <yebhavinga@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #5748: Invalid oidvector data during binary recv
Date: Thu, 11 Nov 2010 11:17:35 -0500
Message-ID: <15909.1289492255@sss.pgh.pa.us> (raw)
In-Reply-To: <15780.1289491883@sss.pgh.pa.us>
References: <201011111430.oABEUVPe067398@wwwmaster.postgresql.org>
	<15298.1289490490@sss.pgh.pa.us>
	<4CDC1380.2090309@enterprisedb.com>
	<15780.1289491883@sss.pgh.pa.us>

BTW ... it strikes me there's another inconsistency between oidvectorin
and oidvectorrecv, namely that the former enforces a maximum of
FUNC_MAX_ARGS elements whereas the latter has no such limit.  Should we
do something about that, and if so what?  It wouldn't be too hard to get
rid of the former's maximum, but I'm worried about whether any code is
dependent on an assumption that oidvectors can't get toasted.  The
type's marked untoastable in pg_type, so maybe enforcing the same limit
in the latter is a safer idea.

			regards, tom lane



view thread (21+ messages)  latest in thread

Message-ID: <15909.1289492255@sss.pgh.pa.us>
Permalink:  ../15909.1289492255@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15909.1289492255@sss.pgh.pa.us

 · 

reply

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, heikki.linnakangas@enterprisedb.com, yebhavinga@gmail.com
  Subject: Re: BUG #5748: Invalid oidvector data during binary recv
  In-Reply-To: <15909.1289492255@sss.pgh.pa.us>
  References: <201011111430.oABEUVPe067398@wwwmaster.postgresql.org> <15298.1289490490@sss.pgh.pa.us> <4CDC1380.2090309@enterprisedb.com> <15780.1289491883@sss.pgh.pa.us> <15909.1289492255@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