pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ligia Pimentel <lmpimentel@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: Left join error
Date: Mon, 5 Nov 2001 11:39:02 -0600
Message-ID: <9s6j7s$2vvf$1@news.tht.net> (raw)

Hello.
I have a table with 146000+ records. I tried to select with a left join to
another table but I get this message:

ERROR:  MemoryContextAlloc: invalid request size 4294967293

This is the query.

select * from cheques left join formasenblanco on cheques.cheque=
formasenblanco.cheque where formasenblanco.cheque is null;

The table cheques has about 146000+ records. Formasenblanco is smaller. I
know I can use subquerys, but in theory, this is much slower.
I'm using Postgres 7.1 on Redhat 6.2

Does anyone have a suggestion?

Thank you.

Ligia





view thread (4+ messages)  latest in thread

Message-ID: <9s6j7s$2vvf$1@news.tht.net>
Permalink:  ../9s6j7s$2vvf$1@news.tht.net/
Also on:    postgresql.org/message-id/9s6j7s$2vvf$1@news.tht.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: lmpimentel@yahoo.com
  Subject: Re: Left join error
  In-Reply-To: <9s6j7s$2vvf$1@news.tht.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox