From c715fdea267843fd7fae4253aee0ae91e941393c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 28 Nov 2000 23:27:57 +0000 Subject: Significant cleanups in SysV IPC handling (shared mem and semaphores). 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. --- doc/src/sgml/ref/postmaster.sgml | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) (limited to 'doc/src/sgml') diff --git a/doc/src/sgml/ref/postmaster.sgml b/doc/src/sgml/ref/postmaster.sgml index beb6c0ee93f..5bf5e4cb92b 100644 --- a/doc/src/sgml/ref/postmaster.sgml +++ b/doc/src/sgml/ref/postmaster.sgml @@ -1,5 +1,5 @@ @@ -400,32 +400,6 @@ $ ps -e | grep postmast - - - -IpcMemoryAttach: shmat() failed: Permission denied - - - - A likely explanation is that another user attempted to start a - postmaster - process on the same port which acquired shared resources and then - died. Since Postgres shared memory keys are based on the port number - assigned to the - postmaster, - such conflicts are likely if there is more than one installation on - a single host. If there are no other - postmaster - processes currently running (see above), run - ipcclean - and try again. If other postmaster - images - are running, you will have to find the owners of those processes to - coordinate the assignment of port numbers and/or removal of unused - shared memory segments. - - - -- cgit v1.2.3