"Jeff MacDonald <jeff(at)pgsql(dot)com>" <jeffm(at)pgsql(dot)com> writes:
> After those spinlock errors the postmaster died.... I tries to start it
> back up and it failed with this error.
You may need to clean up shared memory blocks and/or semaphores ---
those are supposed to be deallocated when the postmaster quits,
but it sounds like it didn't happen. See the pgsql ipcclean script.
Not sure what caused the stuck spinlock in the first place.
regards, tom lane