• H
    Backport the 5 second wait if a database is in use. · f042e3e8
    Heikki Linnakangas 提交于
    As promised in previous commit. Upstream patch:
    
    commit bd0a2609
    Author: Tom Lane <tgl@sss.pgh.pa.us>
    Date:   Fri Jun 1 19:38:07 2007 +0000
    
        Make CREATE/DROP/RENAME DATABASE wait a little bit to see if other backends
        will exit before failing because of conflicting DB usage.  Per discussion,
        this seems a good idea to help mask the fact that backend exit takes nonzero
        time.  Remove a couple of thereby-obsoleted sleeps in contrib and PL
        regression test sequences.
    f042e3e8
procarray.c 54.2 KB