Received: from gate-w.wettzell.ifag.de (gate-w.ifag.de [141.74.1.1]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4E701A95713 for ; Mon, 14 May 2001 03:00:02 -0400 (EDT) (envelope-from dassing@wettzell.ifag.de) Received: by gate-w.wettzell.ifag.de (8.9.3/8.9.3) id IAA27920; Mon, 14 May 2001 08:58:44 +0200 (CEST) Received: (from localhost) by gate-w.wettzell.ifag.de (MSCAN) id 2/gate-w.wettzell.ifag.de/smtp-gw/mscan; Mon May 14 08:58:44 2001 Message-ID: <3AFF821A.33FDCEB4@wettzell.ifag.de> Date: Mon, 14 May 2001 08:58:34 +0200 From: Reiner Dassing Organization: BKG-Wettzell X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: de,en MIME-Version: 1.0 To: Tom Lane CC: psql-admin Subject: Re: psql produces core dump References: <3AFBB685.5DF982F0@wettzell.ifag.de> <7463.989618880@sss.pgh.pa.us> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-Archive-Number: 200105/66 X-Sequence-Number: 1412 Tom Lane wrote: > > Reiner Dassing 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