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 14024.1289834527@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #5748: Invalid oidvector data during binary recv  (Yeb Havinga <yebhavinga@gmail.com>)
Responses Re: BUG #5748: Invalid oidvector data during binary recv  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Yeb Havinga <yebhavinga@gmail.com> writes:
> Binary send and recv of the value at hand would change it into a 0-D vector.

The reason for that is that in general we don't make a distinction
between zero-size arrays of different dimensions.  oidvector and
int2vector are different though.  Which is why this should be fixed
locally to those two types, rather than changing the behavior of
regular arrays.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Yeb Havinga
Date:
Subject: Re: BUG #5748: Invalid oidvector data during binary recv
Next
From: Tom Lane
Date:
Subject: Re: BUG #5748: Invalid oidvector data during binary recv