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

BUG #5748: Invalid oidvector data during binary recv

From: "Yeb Havinga" <yebhavinga(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5748: Invalid oidvector data during binary recv
Date: 2010-11-11 14:30:31
Message-ID: 201011111430.oABEUVPe067398@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      5748
Logged by:          Yeb Havinga
Email address:      yebhavinga(at)gmail(dot)com
PostgreSQL version: 9.0.1
Operating system:   Linux
Description:        Invalid oidvector data during binary recv
Details: 

postgres=# create table a as select ''::oidvector;
SELECT 1
postgres=# copy a to '/tmp/test' with binary;
COPY 1
postgres=# copy a from '/tmp/test' with binary;
ERROR:  invalid oidvector data

The error caused by the ARR_LBOUND(result)[0] != 0) check in oidvectorrecv,
and after some debugging and looking at common values of the lbound, I
wonder if this check itself is correct.

regards,
Yeb Havinga

Responses

pgsql-bugs by date

Next:From: DenisDate: 2010-11-11 15:26:08
Subject: BUG #5749: Case sensivity of names of sequences.
Previous:From: Devrim GÜNDÜZDate: 2010-11-11 02:05:22
Subject: Re: BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value

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