• T
    Change the relation_open protocol so that we obtain lock on a relation · 09d3670d
    Tom Lane 提交于
    (table or index) before trying to open its relcache entry.  This fixes
    race conditions in which someone else commits a change to the relation's
    catalog entries while we are in process of doing relcache load.  Problems
    of that ilk have been reported sporadically for years, but it was not
    really practical to fix until recently --- for instance, the recent
    addition of WAL-log support for in-place updates helped.
    
    Along the way, remove pg_am.amconcurrent: all AMs are now expected to support
    concurrent update.
    09d3670d
sequence.c 30.6 KB