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

postgres-lambda-diff

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Heikki Linnakangas authored
    InitXLogInsert() cannot be called in a critical section, because it
    allocates memory. But CreateCheckPoint() did that, when called for the
    end-of-recovery checkpoint by the startup process.
    
    In the passing, fix the scratch space allocation in InitXLogInsert to go to
    the right memory context. Also update the comment at InitXLOGAccess, which
    hasn't been totally accurate since hot standby was introduced (in a hot
    standby backend, InitXLOGAccess isn't called at backend startup).
    
    Reported by Michael Paquier
    afeacd27
    History
    Name Last commit Last update