Thread: Recent matview push broken with -DCLOBBER_CACHE_ALWAYS

Recent matview push broken with -DCLOBBER_CACHE_ALWAYS

From
Kevin Grittner
Date:
I am investigating.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



Re: Recent matview push broken with -DCLOBBER_CACHE_ALWAYS

From
Kevin Grittner
Date:
Kevin Grittner <kgrittn@ymail.com> wrote:

> I am investigating.

Information from the syscache entry for the table was being
referenced after the relation was closed.  We were generally
getting away with it until the new locking caused a check for
invalidation messages at a new spot.  Moving the heap_close() call
down a few lines fixed it by keeping the syscache entry valid until
we were through with it.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company