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

bootstrap.c

Blame
    • Tom Lane's avatar
      12d8fae4
      Simplify the bootstrap (BKI) code by getting rid of a useless table of all · 12d8fae4
      Tom Lane authored
      the strings seen during the bootstrap run.  There might have been some
      actual point to doing that, many years ago, but as far as I can see the only
      value now is to conserve a bit of memory.  Even if we cared about wasting
      a megabyte or so during the initdb run, it'd be far more effective to
      arrange to release memory at the end of each BKI command, instead of
      intentionally hanging onto strings that might never be used again.
      Not maintaining the table probably makes it faster too; but the main point
      of this patch is to get rid of a couple hundred lines of unnecessary and
      rather crufty code.
      12d8fae4
      History
      Simplify the bootstrap (BKI) code by getting rid of a useless table of all
      Tom Lane authored
      the strings seen during the bootstrap run.  There might have been some
      actual point to doing that, many years ago, but as far as I can see the only
      value now is to conserve a bit of memory.  Even if we cared about wasting
      a megabyte or so during the initdb run, it'd be far more effective to
      arrange to release memory at the end of each BKI command, instead of
      intentionally hanging onto strings that might never be used again.
      Not maintaining the table probably makes it faster too; but the main point
      of this patch is to get rid of a couple hundred lines of unnecessary and
      rather crufty code.