X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0CDABDB86A for ; Tue, 15 Nov 2005 15:04:42 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 76246-05 for ; Tue, 15 Nov 2005 19:04:41 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from cliff.cs.toronto.edu (cliff.cs.toronto.edu [128.100.3.120]) by svr1.postgresql.org (Postfix) with ESMTP id 7BE1BDB81F for ; Tue, 15 Nov 2005 15:04:39 -0400 (AST) Received: from eon.cs (eon.cs.toronto.edu [128.100.3.15]) by cliff.cs.toronto.edu (Postfix) with ESMTP id 816895FD03; Tue, 15 Nov 2005 14:04:38 -0500 (EST) Received: by eon.cs (Postfix, from userid 1300) id 80DFE7F4; Tue, 15 Nov 2005 14:04:38 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by eon.cs (Postfix) with ESMTP id 77FFA544; Tue, 15 Nov 2005 14:04:38 -0500 (EST) Date: Tue, 15 Nov 2005 14:04:38 -0500 (EST) From: Qingqing Zhou X-X-Sender: zhouqq@eon.cs To: Kevin Grittner Cc: icub3d@gmail.com, pgsql-admin@postgresql.org Subject: Re: ERROR: could not read block In-Reply-To: <4379B89302000025000006E6@gwmta.wicourts.gov> Message-ID: References: <4379B89302000025000006E6@gwmta.wicourts.gov> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.479 required=5 tests=[DNS_FROM_RFC_ABUSE=0.479] X-Spam-Score: 0.479 X-Spam-Level: X-Archive-Number: 200511/195 X-Sequence-Number: 19568 > > I reran the query. Same error, same relation, different block. > > dtr=> UPDATE > dtr-> "DbTranRepository" > dtr-> SET "userId" = UPPER("userId") > dtr-> WHERE ( > dtr(> ("userId" <> UPPER("userId")) AND > dtr(> ("timestampValue" BETWEEN '2005-10-28' AND '2005-11-15')); > ERROR: could not read block 1118215 of relation 1663/16385/16483: > Invalid argument > So this is a big query? Somebody reported this error when IO is intensive. To conclude the reports we have received: (1) If IO is intensive (no matter you have anti-virus software or not), you may encounter "invalud argument" error; (2) In some cases, anti-virus software could cause "invalid argument" error; (3) You may encounter "permission denied" problem (no matter you have anti-virus software or not) in some unknown condition; Unfortunately we haven't found out the cause of this problem ... I am thinking an urgent need is let PG print the GetLastError() for Windows version as well. Regards, Qingqing