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