Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA22705; Mon, 27 Jul 92 21:34:03 -0700
Message-Id: <9207280434.AA22705@postgres.Berkeley.EDU>
From: Gregory Higgins <higgins@math.niu.edu>
Subject: Re: Bug in copy binary of variable length fields
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
In-Reply-To: Your message of "Mon, 27 Jul 92 19:47:11 PDT."
             <9207280247.AA21967@postgres.Berkeley.EDU> 
Date: Mon, 27 Jul 92 23:44:59 -0500
From: Gregory Higgins <higgins@math.niu.edu>

   >Description: 
   >"copy binary" would crash if any of the attributes had a varlena stucture 
   >( eg text ). 
   > 
   >Source Files Changed: ~postgres/src/commands/copy.c 
   > 
   >Procedure Changed : CopyFrom() 
   > 
   >        line number : 378 
   >        was         : values[i] = (Datum) (ptr + 4); 

Not to be too picky , but shouldn't the 4 have been a sizeof to begin with?


 -Gregory Higgins, Systems Manager, higgins@math.niu.edu
