pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ligia Pimentel <lmpimentel@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Left join error
Date: Tue, 06 Nov 2001 14:14:56 -0500
Message-ID: <17262.1005074096@sss.pgh.pa.us> (raw)
In-Reply-To: <9s6j7s$2vvf$1@news.tht.net>
References: <9s6j7s$2vvf$1@news.tht.net>

"Ligia Pimentel" <lmpimentel@yahoo.com> writes:
> 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

Hmm.  This might indicate corrupted data --- do you see a similar error
if you just do "select * from cheques" or "select * from formasenblanco"?

If not, then I think you've run into a software bug.  It'd be worth
while to update to 7.1.3 before pursuing it further.  If you still see
the failure in 7.1.3 then I would like to see an EXPLAIN of the join
query as well as a stack backtrace from the error.  The easiest way
to get the stack trace is

in window 1:
	fire up psql

in window 2:
	use ps to determine PID of the backend your psql is connected to

	gdb /path/to/postgres-executable	-- do this as postgres user

	gdb> attach backend-PID-found-above

	gdb> break elog

	gdb> continue

in window 1:
	issue the problem query

in window 2:
	gdb should report reaching the breakpoint.  Do

	gdb> bt
	--- copy & paste results printed here

	gdb> quit

			regards, tom lane



view thread (4+ messages)

Message-ID: <17262.1005074096@sss.pgh.pa.us>
Permalink:  ../17262.1005074096@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17262.1005074096@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, lmpimentel@yahoo.com
  Subject: Re: Left join error
  In-Reply-To: <17262.1005074096@sss.pgh.pa.us>

* 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