pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kevin Izzet <Kevin.Izzet@nsc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: psql won't stayed connected
Date: Thu, 05 Aug 2004 15:13:06 -0400
Message-ID: <20260.1091733186@sss.pgh.pa.us> (raw)
In-Reply-To: <OF40170F81.D32FE0D5-ON80256EE7.00579830-80256EE7.0058658F@nsc.com>
References: <OF40170F81.D32FE0D5-ON80256EE7.00579830-80256EE7.0058658F@nsc.com>

"Kevin Izzet" <Kevin.Izzet@nsc.com> writes:
> Aug  5 17:01:38 uklnx04 postgres[28522]: [230-1] DEBUG:  00000: 
> InitPostgres
> Aug  5 17:01:38 uklnx04 postgres[28522]: [230-2] LOCATION:  PostgresMain, 
> postgres.c:2639
> Aug  5 17:01:38 uklnx04 postgres[28522]: [231-1] DEBUG:  00000: 
> proc_exit(0)
> Aug  5 17:01:38 uklnx04 postgres[28522]: [231-2] LOCATION:  proc_exit, 
> ipc.c:95

That's pretty bizarre ... I didn't think there were any code paths that
would get to proc_exit without emitting an error message.

Can you set a debugger breakpoint at proc_exit and see what the call
stack looks like?  (You can slow things down enough to attach to the
backend with gdb by using the -W switch:
	PGOPTIONS="-W 30" psql ...

			regards, tom lane



view thread (13+ messages)  latest in thread

Message-ID: <20260.1091733186@sss.pgh.pa.us>
Permalink:  ../20260.1091733186@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20260.1091733186@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Kevin.Izzet@nsc.com
  Subject: Re: psql won't stayed connected
  In-Reply-To: <20260.1091733186@sss.pgh.pa.us>
  References: <OF40170F81.D32FE0D5-ON80256EE7.00579830-80256EE7.0058658F@nsc.com> <20260.1091733186@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