Re: BUG #5748: Invalid oidvector data during binary recv

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Yeb Havinga <yebhavinga(at)gmail(dot)com>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5748: Invalid oidvector data during binary recv
Date: 2010-11-15 15:22:07
Message-ID: 14024.1289834527@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Yeb Havinga <yebhavinga(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2010-11-15 16:51:46 Re: BUG #5748: Invalid oidvector data during binary recv
Previous Message Yeb Havinga 2010-11-15 10:56:22 Re: BUG #5748: Invalid oidvector data during binary recv