Re: psql dumps core

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "K(dot) Ari Krupnikov" <ari(at)iln(dot)net>
Cc: pgsql-general(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: psql dumps core
Date: 2000-07-04 19:20:31
Message-ID: 28111.962738431@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"K. Ari Krupnikov" <ari(at)iln(dot)net> writes:
>>>> I get a core dump in the current directory on the client.

> this sequence causes the crash

> # drop databse xxx;
> # create database xxx;
> # \c xxx;

> and i was wrong when i said the backend doesn't crash - it does.

Can't reproduce this with current sources:

template1=# drop database xxx;
DROP DATABASE
template1=# create database xxx;
CREATE DATABASE
template1=# \c xxx;
FATAL 1: Database "xxx;" does not exist in the system catalog.
Previous connection kept
template1=# \c xxx
You are now connected to database xxx.
xxx=#

It's possible that 7.0.* psql has some since-repaired bug when trying
to \c to a nonexistent database name --- Peter, do you recall anything
like that?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Eric Jain 2000-07-04 20:36:01 Combining two SELECTs
Previous Message Karel Zak 2000-07-04 18:54:44 Re: sequential test error