suspicous looking code in copy.c - Mailing list pgsql-hackers

From Dave Cramer
Subject suspicous looking code in copy.c
Date
Msg-id 1062066496.1680.48.camel@localhost.localdomain
Whole thread Raw
In response to Re: Possible bug in update?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: suspicous looking code in copy.c
Re: suspicous looking code in copy.c
List pgsql-hackers
This just doesn't look right.

line 364               case COPY_NEW_FE:                     while (datasize > 0 && !fe_eof)            ....

line 408        datasize =- avail;


shouldn't it be datasize -= avail ?

Dave            
-- 
Dave Cramer <dave@fastcrypt.com>
fastcrypt



pgsql-hackers by date:

Previous
From: Curt Sampson
Date:
Subject: Re: NOTICE vs WARNING
Next
From: Shridhar Daithankar
Date:
Subject: Linux2.6 overcommit behaviour