pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Ligia Pimentel <lmpimentel@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: Re: Left join error
Date: Tue, 06 Nov 2001 08:36:29 -0800
Message-ID: <web-499787@davinci.ethosmedia.com> (raw)
In-Reply-To: <9s6j7s$2vvf$1@news.tht.net>

Ligia,

> ERROR:  MemoryContextAlloc: invalid request size 4294967293

This sounds like a memory/server configuration problem.  have you had
any other errors running PostgreSQL?  Can you post your machine
configuration (processor, memory, other services, etc.)?

Though I'm not sure this is the best list for runtime problems.
However, I'm not sure what the right list would be.  Hey, Marc, how
about a PGSQL-PERFORMANCE list?

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

I don't believe that this will get you the results you are seeking, even
when the techincal problem gets fixed.    I think what you really want
is:

SELECT *
FROM cheques
WHERE NOT EXISTS (SELECT f.cheque FROM formasenblanco f
      WHERE f.cheque = cheques.cheque);

-Josh

______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco



view thread (4+ messages)  latest in thread

Message-ID: <web-499787@davinci.ethosmedia.com>
Permalink:  ../web-499787@davinci.ethosmedia.com/
Also on:    postgresql.org/message-id/web-499787@davinci.ethosmedia.com

 · 

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: josh@agliodbs.com, lmpimentel@yahoo.com
  Subject: Re: Left join error
  In-Reply-To: <web-499787@davinci.ethosmedia.com>

* 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