On Fri, Feb 21, 2014 at 6:07 AM, Andres Freund <and...@2ndquadrant.com> wrote:
> I can sympathize with the "too much during init" argument, but I don't
> see how moving stuff to the first call would get rid of the problems. If
> we fail later it's going to be just as confusing.

No, it isn't.  If you fail during init the use will expect the slot to
be gone.  That's the reason for all of this complexity.  If you fail
on first use, the user will expect the slot to still be there.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to