Bug #645: core dump while \df in trasaction

Started by PostgreSQL Bugs Listalmost 24 years ago2 messagesbugs
Jump to latest
#1PostgreSQL Bugs List
pgsql-bugs@postgresql.org

Jean-Luc Lachance (jllachan@nsd.ca) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
core dump while \df in trasaction

Long Description
I get a core dump when it try:

begin; truncate table r;
\df

Also, I would be nice to have a different prompt while in a transaction.

nsd=# select version();
version
-------------------------------------------------------------
PostgreSQL 7.2b5 on i686-pc-linux-gnu, compiled by GCC 2.96

Sample Code
nsd=# begin; truncate table r;
BEGIN
ERROR: TRUNCATE TABLE cannot run inside a transaction block
nsd=# \df
NOTICE: current transaction is aborted, queries ignored until end of transaction block
Floating point exception (core dumped)

No file was uploaded with this report

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PostgreSQL Bugs List (#1)
Re: Bug #645: core dump while \df in trasaction

pgsql-bugs@postgresql.org writes:

I get a core dump when it try:

begin; truncate table r;
\df

Fixed in current sources. Thanks for the report.

regards, tom lane