Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f4EJRmA46290 for ; Mon, 14 May 2001 15:27:48 -0400 (EDT) (envelope-from pgsql-admin-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4EFvDA51781 for ; Mon, 14 May 2001 11:57:13 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f4EFTEa38881 for pgsql-admin@postgresql.org; Mon, 14 May 2001 11:29:14 -0400 (EDT) (envelope-from news) From: "Ligia Pimentel" X-Newsgroups: comp.databases.postgresql.admin Subject: Awful FATAL ERROR running query Date: Mon, 14 May 2001 09:27:47 -0500 Organization: . Lines: 26 Message-ID: <9dotk9$15uu$1@news.tht.net> Reply-To: "Ligia Pimentel" X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: pgsql-admin@postgresql.org X-Archive-Number: 200105/71 X-Sequence-Number: 1417 I have a problem with postgres, I'm running a query that joins two tables, one with 129000+ records, and the other with 1172 records, it's a very simple join. But postgres can't handle it!!! (Both tables have an index on the field "cuentacb"). I get the following error after 3 minutes... migracion=# select * from cuentasequivalentes, equiv11mayo m migracion-# where cuentasequivalentes.cuentacb = m.cuentacb migracion-# and cuentasequivalentes.cuentabr <> m.cuentabr; FATAL 1: Memory exhausted in AllocSetAlloc() pqReadData() -- backend closed the channel unexpectedly. This probably means the backend terminated abnormally before or while processing the request. The connection to the server was lost. Attempting reset: Succeeded. What can I do? I'm guessing that I could change a configuration parameter or something like that, but I don't know. Please help me, it's kind of urgent. Ligia