Re: [HACKERS] md.c is feeling much better now, thank you - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] md.c is feeling much better now, thank you
Date
Msg-id 37CE98AB.ADF225E3@krs.ru
Whole thread Raw
In response to Re: [HACKERS] md.c is feeling much better now, thank you  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] md.c is feeling much better now, thank you
List pgsql-hackers
Tom Lane wrote:
> 
> My guess is that we ought to be checking for relcache invalidation
> immediately after gaining any lock on the relation.  I don't know where
> that should be done, however.

Seems as GOOD solution!
We could do inval check in LockRelation() just after LockAcquire().

Vadim


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Postgres' lexer
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] vacuum analyze