Re: Vacuum analyze problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "jhatfield(at)g-s(dot)com(dot)au" <jhatfield(at)g-s(dot)com(dot)au>
Cc: "'PostgreSQL Admin'" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Vacuum analyze problem
Date: 2001-03-02 02:34:01
Message-ID: 26147.983500441@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

John Hatfield <jhatfield(at)g-s(dot)com(dot)au> writes:
> The last bit of vacuum verbose analyse
> NOTICE: --Relation pg_rewrite--
> pqReadData() -- backend closed the channel unexpectedly.

OK, so pg_rewrite seems to be broken. Not good...

> This GDB was configured as "i386-redhat-linux"..."/var/lib/pgsql/data/base/gsmai
> n_test/core": not in executable format: File format not recognized

You need to do "gdb /path/to/postgres/executable core".

Or try it like this instead:

* fire up psql in one window
* determine PID of backend connected to psql
* attach to live backend process with gdb:
gdb /path/to/postgres/executable
attach PID
cont
* issue vacuum command to psql

gdb should catch the crash and then you can issue "bt".

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message John Hatfield 2001-03-02 02:49:25 RE: Vacuum analyze problem
Previous Message John Hatfield 2001-03-02 02:17:14 RE: Vacuum analyze problem