Skip site navigation (1) Skip section navigation (2)

Re: psql produces core dump

From: Reiner Dassing <dassing(at)wettzell(dot)ifag(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: psql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: psql produces core dump
Date: 2001-05-14 06:58:34
Message-ID: 3AFF821A.33FDCEB4@wettzell.ifag.de (view raw or flat)
Thread:
Lists: pgsql-admin
Tom Lane wrote:
> 
> Reiner Dassing <dassing(at)wettzell(dot)ifag(dot)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

In response to

Responses

pgsql-admin by date

Next:From: Sander SteffannDate: 2001-05-14 11:28:46
Subject: Re: 7.1 ... wtf?
Previous:From: Jesus SandovalDate: 2001-05-14 06:57:25
Subject: Re: CREATE TABLE (allow/deny)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group