From: Reiner Dassing <dassing@wettzell.ifag.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: psql-admin <pgsql-admin@postgresql.org>
Subject: Re: psql produces core dump
Date: Mon, 14 May 2001 08:58:34 +0200
Message-ID: <3AFF821A.33FDCEB4@wettzell.ifag.de> (raw)
References: <3AFBB685.5DF982F0@wettzell.ifag.de>
<7463.989618880@sss.pgh.pa.us>
Tom Lane wrote:
>
> Reiner Dassing <dassing@wettzell.ifag.de> writes:
> > By accident I gave in psql the command \@ and \db.
> > In both cases a core dump was produced.
> > Basis:
> > PostgreSQL V7.1.1 on Tru64 V 5.1
>
> Which version is your file pgsql/src/bin/psql/command.c ?
> If it's 1.49 then this is a known bug. 1.49.2.1 has the fix,
> but I'm not sure if that's in the file set you have.
It's version 1.49
See:
/*
* psql - the PostgreSQL interactive terminal
*
* Copyright 2000 by PostgreSQL Global Development Group
*
* $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/psql/command.c,v
1.49 2001/04/18 20:53:08 petere Exp$
*/
>
> regards, tom lane
One remark:
The modified "mainloop.c" I sent you is due to:
query_start contains a value nearly infinity and then it produces
the core dump.
--
Mit freundlichen Gruessen / With best regards
Reiner Dassing
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: dassing@wettzell.ifag.de, tgl@sss.pgh.pa.us
Subject: Re: psql produces core dump
In-Reply-To: <3AFF821A.33FDCEB4@wettzell.ifag.de>
References: <3AFBB685.5DF982F0@wettzell.ifag.de> <7463.989618880@sss.pgh.pa.us> <3AFF821A.33FDCEB4@wettzell.ifag.de>
* 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