Skip to content
Snippets Groups Projects
  • Tom Lane's avatar
    c715fdea
    Significant cleanups in SysV IPC handling (shared mem and semaphores). · c715fdea
    Tom Lane authored
    IPC key assignment will now work correctly even when multiple postmasters
    are using same logical port number (which is possible given -k switch).
    There is only one shared-mem segment per postmaster now, not 3.
    Rip out broken code for non-TAS case in bufmgr and xlog, substitute a
    complete S_LOCK emulation using semaphores in spin.c.  TAS and non-TAS
    logic is now exactly the same.
    When deadlock is detected, "Deadlock detected" is now the elog(ERROR)
    message, rather than a NOTICE that comes out before an unhelpful ERROR.
    c715fdea
    History
    Significant cleanups in SysV IPC handling (shared mem and semaphores).
    Tom Lane authored
    IPC key assignment will now work correctly even when multiple postmasters
    are using same logical port number (which is possible given -k switch).
    There is only one shared-mem segment per postmaster now, not 3.
    Rip out broken code for non-TAS case in bufmgr and xlog, substitute a
    complete S_LOCK emulation using semaphores in spin.c.  TAS and non-TAS
    logic is now exactly the same.
    When deadlock is detected, "Deadlock detected" is now the elog(ERROR)
    message, rather than a NOTICE that comes out before an unhelpful ERROR.