Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

dbcommands.c

  • Tom Lane's avatar
    f4427117
    Call pgstat_drop_database during DROP DATABASE, so that any stats file · f4427117
    Tom Lane authored
    entries for the victim database go away sooner rather than later.  We already
    did the equivalent thing at the per-relation level, not sure why it's not
    been done for whole databases.  With this change, pgstat_vacuum_tabstat
    should usually not find anything to do; though we still need it as a backstop
    in case DROPDB or TABPURGE messages get lost under load.
    f4427117
    History
    Call pgstat_drop_database during DROP DATABASE, so that any stats file
    Tom Lane authored
    entries for the victim database go away sooner rather than later.  We already
    did the equivalent thing at the per-relation level, not sure why it's not
    been done for whole databases.  With this change, pgstat_vacuum_tabstat
    should usually not find anything to do; though we still need it as a backstop
    in case DROPDB or TABPURGE messages get lost under load.