Re: [PATCH] postgres_fdw extension support - Mailing list pgsql-hackers

From Paul Ramsey
Subject Re: [PATCH] postgres_fdw extension support
Date
Msg-id CACowWR3cRoqym+N=fxpOrRsYwQemV0SEPKX0VypDeOfHHWFaWA@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] postgres_fdw extension support  (Andres Freund <andres@anarazel.de>)
Responses Re: [PATCH] postgres_fdw extension support  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Tue, Oct 6, 2015 at 5:32 AM, Andres Freund <andres@anarazel.de> wrote:

> The problem is basically that cache invalidations can arrive while
> you're building new cache entries. Everytime you e.g. open a relation
> cache invalidations can arrive. Assume you'd written the code like:

> You're avoiding that by only entering into the hashtable *after* the
> lookup. And I think that deserves a comment.

Thanks, revised patch attached.

P.

Attachment

pgsql-hackers by date:

Previous
From: David Christensen
Date:
Subject: [PATCH] Comment fixes
Next
From: Andres Freund
Date:
Subject: Re: [PATCH] postgres_fdw extension support