Re: Segmentation fault in 7.3 while vacuuming

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Frank van Vugt <ftm(dot)van(dot)vugt(at)foxi(dot)nl>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: Segmentation fault in 7.3 while vacuuming
Date: 2002-12-05 14:33:28
Message-ID: 25261.1039098808@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-general pgsql-hackers

Frank van Vugt <ftm(dot)van(dot)vugt(at)foxi(dot)nl> writes:
> ** while using a client written in TrollTech's QT v3.1 that creates a number
> of temporary tables, uses a number lot of 'copy' statements and at the end
> tries to 'vacuum full analyse' the database

Drat --- looks like the local buffer manager code has gotten out of sync
with the relcache code. In particular I note the following in localbuf.c

Relation bufrel = RelationNodeCacheGetRelation(bufHdr->tag.rnode);

/*
* The relcache is not supposed to throw away temp rels, so this
* should always succeed.
*/
Assert(bufrel != NULL);

which was true at the time it was written, but is so no longer :-(

Will fix.

regards, tom lane

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Marc G. Fournier 2002-12-05 14:34:05 Re: [GENERAL] PostgreSQL Global Development Group Announces
Previous Message Marc G. Fournier 2002-12-05 14:31:11 Re: [GENERAL] PostgreSQL Global Development Group Announces

Browse pgsql-general by date

  From Date Subject
Next Message Marc G. Fournier 2002-12-05 14:34:05 Re: [GENERAL] PostgreSQL Global Development Group Announces
Previous Message Marc G. Fournier 2002-12-05 14:31:11 Re: [GENERAL] PostgreSQL Global Development Group Announces

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2002-12-05 14:34:05 Re: [GENERAL] PostgreSQL Global Development Group Announces
Previous Message Marc G. Fournier 2002-12-05 14:31:11 Re: [GENERAL] PostgreSQL Global Development Group Announces