pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Johann Spies <jspies@sun.ac.za>
Cc: pgsql-admin@postgresql.org
Subject: Re: ERROR: invalid memory alloc request size
Date: Wed, 16 May 2007 13:50:04 -0400
Message-ID: <5221.1179337804@sss.pgh.pa.us> (raw)
In-Reply-To: <20070515105042.GA8121@burger.sun.ac.za>
References: <20070514131318.GA26537@sun.ac.za>
	<11217.1179153258@sss.pgh.pa.us>
	<20070515105042.GA8121@burger.sun.ac.za>

Johann Spies <jspies@sun.ac.za> writes:
> * Tom Lane <tgl@sss.pgh.pa.us> [070514 16:36]:
>> $ gdb /path/to/postgres PID-of-backend

> Which pg-process?  The Postmaster or psql?  I have done this for the
> Postmaster now but
>> gdb> b errfinish
>> gdb> cont
>> ... wait for breakpoint to be hit ...
> This did not happen although the error occurred (after a few hours).

You got the wrong process then --- maybe the postmaster itself rather
than the backend assigned to your psql session?  You can identify the
backend PID via pg_backend_pid() within the psql session of interest,
or look in pg_stat_activity.

			regards, tom lane



view thread (19+ messages)  latest in thread

Message-ID: <5221.1179337804@sss.pgh.pa.us>
Permalink:  ../5221.1179337804@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5221.1179337804@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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jspies@sun.ac.za
  Subject: Re: ERROR: invalid memory alloc request size
  In-Reply-To: <5221.1179337804@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