Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 921CF1337B77 for ; Thu, 11 Nov 2010 10:30:32 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 88441-09 for ; Thu, 11 Nov 2010 14:30:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id C24DA1337B6F for ; Thu, 11 Nov 2010 10:30:31 -0400 (AST) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id oABEUVPV067399 for ; Thu, 11 Nov 2010 14:30:31 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id oABEUVPe067398; Thu, 11 Nov 2010 14:30:31 GMT (envelope-from www) Date: Thu, 11 Nov 2010 14:30:31 GMT Message-Id: <201011111430.oABEUVPe067398@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5748: Invalid oidvector data during binary recv From: "Yeb Havinga" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201011/66 X-Sequence-Number: 28646 The following bug has been logged online: Bug reference: 5748 Logged by: Yeb Havinga Email address: yebhavinga@gmail.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