Re: PostgreSQL 8.3.4 reproducible crash

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: dmitry(at)koterov(dot)ru, pgsql-hackers(at)postgresql(dot)org
Subject: Re: PostgreSQL 8.3.4 reproducible crash
Date: 2008-12-10 18:32:21
Message-ID: 20081210183221.GG5503@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas wrote:
> Dmitry Koterov wrote:

>> select '(1)'::bug1.composite;
>
> Reproducible on 8.2 as well.

And HEAD too.

> because ActiveSnapshot is NULL. ActiveSnapshot has not yet been set,
> because the input function and domain checking is done in the parse
> analyze phase.

I think the right fix is to ensure that ActiveSnapshot is set.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-12-10 18:52:38 Re: Sync Rep: First Thoughts on Code
Previous Message Josh Berkus 2008-12-10 18:01:29 Re: WAL documentation changes