Re: PostgreSQL 8.3.4 reproducible crash - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: PostgreSQL 8.3.4 reproducible crash
Date
Msg-id 20081210183221.GG5503@alvh.no-ip.org
Whole thread Raw
In response to Re: PostgreSQL 8.3.4 reproducible crash  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: PostgreSQL 8.3.4 reproducible crash
List 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


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: WAL documentation changes
Next
From: Heikki Linnakangas
Date:
Subject: Re: Sync Rep: First Thoughts on Code