• Tom Lane's avatar
    Send only one FORGET_RELATION_FSYNC request when dropping a relation. · 3072b7ba
    Tom Lane authored
    We were sending one per fork, but a little bit of refactoring allows us
    to send just one request with forknum == InvalidForkNumber.  This not only
    reduces pressure on the shared-memory request queue, but saves repeated
    traversals of the checkpointer's hash table.
    3072b7ba
smgr.c 17.6 KB