Skip to content
Snippets Groups Projects
  • Tom Lane's avatar
    09c6ac95
    Dept. of second thoughts: it'd be a good idea to flush buffers · 09c6ac95
    Tom Lane authored
    during replay of CREATE DATABASE as well as the first time around.
    Else it's possible that the copy operation will copy obsolete blocks.
    We are still a long way from guaranteeing anything about using a
    recently-written database as a CREATE template, but this seems needed
    to ensure the existing behavior holds up during replay.
    09c6ac95
    History
    Dept. of second thoughts: it'd be a good idea to flush buffers
    Tom Lane authored
    during replay of CREATE DATABASE as well as the first time around.
    Else it's possible that the copy operation will copy obsolete blocks.
    We are still a long way from guaranteeing anything about using a
    recently-written database as a CREATE template, but this seems needed
    to ensure the existing behavior holds up during replay.