Обсуждение: Bug #645: core dump while \df in trasaction

Поиск
Список
Период
Сортировка

Bug #645: core dump while \df in trasaction

От
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

Re: Bug #645: core dump while \df in trasaction

От
Tom Lane
Дата:
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