Re: possible deadlock: different lock ordering for heap pages

Nishant, Fnu <nishantf@amazon.com>

From: "Nishant, Fnu" <nishantf@amazon.com>
To: Amit Kapila <amit.kapila16@gmail.com>, Robert Haas <robertmhaas@gmail.com>, David Fetter <david@fetter.org>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2019-01-28T20:47:04Z
Lists: pgsql-hackers

Attachments

Thanks David and Amit for reviewing the patch.
Attaching revised patch addressing review comments.
-Nishant


    
        
    
    

Commits

  1. Avoid possible deadlock while locking multiple heap pages.

  2. Try again to make the visibility map crash safe.