Re: SIGSEGV taken on 8.1 during dump/reload

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Gregory Maxwell <gmaxwell(at)gmail(dot)com>
Subject: Re: SIGSEGV taken on 8.1 during dump/reload
Date: 2005-11-12 18:51:40
Message-ID: 20051112185139.GE571@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Nov 12, 2005 at 12:44:23PM -0500, Tom Lane wrote:
> Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> > If we don't like imposing link time constraints, we could require
> > people to include:
>
> > #ifdef PG_MAGIC_BLOCK
> > PG_MAGIC_BLOCK;
> > #endif
>
> I was hoping to avoid forcing source-code changes, but something like
> that might be the best solution. Anyone think it's unreasonable?

Alternativly, you could make it optional for a release (print warning
that magic block wasn't found). Next release require it. It's a small
enough change that it wouldn't require huge amounts of effort on the
part of module writers.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-11-12 18:55:04 Re: SIGSEGV taken on 8.1 during dump/reload
Previous Message Tom Lane 2005-11-12 18:50:20 Re: Cursor estimated row count