Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group