Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 309E29FB33A; Sat, 4 Aug 2007 12:38:27 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 98956-06; Sat, 4 Aug 2007 12:38:24 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 163E09FB742; Sat, 4 Aug 2007 12:38:23 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l74FcLLi016916; Sat, 4 Aug 2007 11:38:21 -0400 (EDT) To: Alessandra Bilardi cc: pgsql-sql@postgresql.org, pgsql-general@postgresql.org Subject: Re: could not [extend relation|write block N of temporary file|write to hash-join temporary file] In-reply-to: <18096.21836.812964.708628@gargle.gargle.HOWL> References: <18096.21836.812964.708628@gargle.gargle.HOWL> Comments: In-reply-to Alessandra Bilardi message dated "Wed, 01 Aug 2007 11:41:32 +0200" Date: Sat, 04 Aug 2007 11:38:21 -0400 Message-ID: <16915.1186241901@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/199 X-Sequence-Number: 118048 Alessandra Bilardi writes: > ERROR: could not write to hash-join temporary file: No space left on device Check your queries. I suspect you've written an incorrectly constrained join that is producing many more rows than you expect. regards, tom lane