Re: BUG #5748: Invalid oidvector data during binary recv - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5748: Invalid oidvector data during binary recv
Date
Msg-id 15909.1289492255@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #5748: Invalid oidvector data during binary recv  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #5748: Invalid oidvector data during binary recv  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: BUG #5748: Invalid oidvector data during binary recv
Next
From: Heikki Linnakangas
Date:
Subject: Re: Recovery bug