Re: WIP: extensible enums - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WIP: extensible enums
Date
Msg-id 11405.1287879071@sss.pgh.pa.us
Whole thread Raw
In response to Re: WIP: extensible enums  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: WIP: extensible enums
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Why would you need to lock out type comparisons?

Didn't you get the point?  The hazard is to a concurrent process that is
merely trying to load up its enum-values cache so that it can perform an
enum comparison.  I don't want such an operation to have to block,
especially not against something that's trying to acquire a more or less
exclusive lock.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: WIP: extensible enums
Next
From: Terry Laurenzo
Date:
Subject: Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)