Re: [HACKERS] select * from ..;vacuum crashes - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] select * from ..;vacuum crashes
Date
Msg-id 199810060534.BAA00330@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] select * from ..;vacuum crashes  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
> >You must enable Assert to see the crash.
>
> I saw the crash without assertion enabled? This is FreeBSD 2.2.6.
>
> >The cause may be because you are doing a vacuum INSIDE a transaction.  I
> >think that also explains the psql -e thing, because that does both
> >commands in the same transaction.
> >
> >Perhaps we need to disable vacuum inside transactions.  Vadim?
>
> FYI, it is reported that 6.3.2 does not have the crash.

I think I will be able to fix this if no one gets to it first.  Looks
like a problem with the cache lookup and updating class statistics.
Could take me a few days until I can get to it.  If someone else wants
to debug it, go ahead.

I am on jury duty.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026


pgsql-hackers by date:

Previous
From: "Gene Selkov Jr."
Date:
Subject: Re: [ADMIN] COPY slows down; is it normal?
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] select * from ..;vacuum crashes