Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id EECA79FB386 for ; Sat, 23 Sep 2006 14:41:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 04228-03 for ; Sat, 23 Sep 2006 14:41:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 827189FA3B0 for ; Sat, 23 Sep 2006 14:41:03 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k8NHf00l026302; Sat, 23 Sep 2006 13:41:00 -0400 (EDT) To: Ray Stell cc: theman , pgsql-admin@postgresql.org Subject: Re: COPY FROM command v8.1.4 In-reply-to: <20060923172059.GB4831@cns.vt.edu> References: <000b01c6de87$8d87db40$d3c016ac@omni.imsweb.com> <29595.1158962371@sss.pgh.pa.us> <20060923172059.GB4831@cns.vt.edu> Comments: In-reply-to Ray Stell message dated "Sat, 23 Sep 2006 13:20:59 -0400" Date: Sat, 23 Sep 2006 13:41:00 -0400 Message-ID: <26301.1159033260@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.099 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200609/255 X-Sequence-Number: 23169 Ray Stell writes: > Curious how you get to an OS kernel bug from these writes? Note the two successive lseek's returning the same result. With a write() in between that should have extended the file, that is clearly the wrong answer. Subsequent discussion reveals that Dan is running > Linux pike 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux > SLES 9 suse linux enterprise 9 service pack 3 which is probably overdue for an update ... regards, tom lane