Re: segfault of autovacuum process during restore - coredumps included - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: segfault of autovacuum process during restore - coredumps included
Date
Msg-id 20051128130022.GA18576@surnet.cl
Whole thread Raw
In response to segfault of autovacuum process during restore - coredumps included  (Frank van Vugt <ftm.van.vugt@foxi.nl>)
Responses Re: segfault of autovacuum process during restore - coredumps included  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: segfault of autovacuum process during restore - coredumps included  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: segfault of autovacuum process during restore - coredumps included  (Frank van Vugt <ftm.van.vugt@foxi.nl>)
List pgsql-bugs
Frank van Vugt wrote:

> Since I started to use v8.1 I've been seeing incidental segfaults of the
> autovacuum process, probably when it is kicking in at some particular point
> during the pg_restore of a database:

Hum, I'm unable to reproduce the problem here; could you give me the
code for the functions in the functional indexes for tables 164956 or
227469?  They must be non-trivial SQL functions AFAICT (I'm rather
unable to figure out their shape based only on the backtrace.)

The attached patch should correct the problem, but I'd like to make sure
it does ...

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Attachment

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: segfault of autovacuum process during restore - coredumps included
Next
From: Alvaro Herrera
Date:
Subject: Re: segfault of autovacuum process during restore - coredumps included