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

bufpage.c

  • Robert Haas's avatar
    b0f18cb7
    hash: Refactor bucket squeeze code. · b0f18cb7
    Robert Haas authored
    In preparation for adding write-ahead logging to hash indexes,
    refactor _hash_freeovflpage and _hash_squeezebucket so that all
    related page modifications happen in a single section of code.  The
    previous coding assumed that it would be fine to move tuples one at a
    time, and also that the various operations involved in freeing an
    overflow page didn't necessarily all need to be done together, all
    of which is true if you don't care about write-ahead logging.
    
    Amit Kapila, with slight changes by me.
    b0f18cb7
    History
    hash: Refactor bucket squeeze code.
    Robert Haas authored
    In preparation for adding write-ahead logging to hash indexes,
    refactor _hash_freeovflpage and _hash_squeezebucket so that all
    related page modifications happen in a single section of code.  The
    previous coding assumed that it would be fine to move tuples one at a
    time, and also that the various operations involved in freeing an
    overflow page didn't necessarily all need to be done together, all
    of which is true if you don't care about write-ahead logging.
    
    Amit Kapila, with slight changes by me.