On 2015-09-11 19:46:02 +0300, YUriy Zhuravlev wrote: > On Friday 11 September 2015 18:37:00 you wrote: > > so unless I'm missing something, no, we haven't lost the lock. > This section is protected by like LWLockAcquire(newPartitionLock, > LW_EXCLUSIVE); before it (and we can't get this buffer from hash table).
a) As I said upthread there's a patch to remove these locks entirely b) It doesn't matter anyway. Not every pin goes through the buffer mapping table. StrategyGetBuffer(), SyncOneBuffer(), ... Greetings, Andres Freund -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers