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

sysv_shmem.c

  • Robert Haas's avatar
    11a65eed
    Get rid of the dynamic shared memory state file. · 11a65eed
    Robert Haas authored
    Instead of storing the ID of the dynamic shared memory control
    segment in a file within the data directory, store it in the main
    control segment.  This avoids a number of nasty corner cases,
    most seriously that doing an online backup and then using it on
    the same machine (e.g. to fire up a standby) would result in the
    standby clobbering all of the master's dynamic shared memory
    segments.
    
    Per complaints from Heikki Linnakangas, Fujii Masao, and Tom
    Lane.
    11a65eed
    History
    Get rid of the dynamic shared memory state file.
    Robert Haas authored
    Instead of storing the ID of the dynamic shared memory control
    segment in a file within the data directory, store it in the main
    control segment.  This avoids a number of nasty corner cases,
    most seriously that doing an online backup and then using it on
    the same machine (e.g. to fire up a standby) would result in the
    standby clobbering all of the master's dynamic shared memory
    segments.
    
    Per complaints from Heikki Linnakangas, Fujii Masao, and Tom
    Lane.