Re: Postmaster crashed during start

2025-02-26 Thread Greg Sabino Mullane
On Wed, Feb 26, 2025 at 12:31 AM Srinath Reddy wrote: > i was actually trying to recreate power outage scenario using >>> node->kill9(),node->start() in a custom tap test,then i found this crash. >> >> LOL ,that's not a power outage test, that's a kill -9 postgres test. A true power outage would

Re: Postmaster crashed during start

2025-02-25 Thread Srinath Reddy
On Wed, Feb 26, 2025 at 9:50 AM Srinath Reddy wrote: > > > On Wed, Feb 26, 2025 at 9:23 AM Tom Lane wrote: > >> Srinath Reddy writes: >> > when we kill postmaster using kill -9 and start immediately it crashes >> with >> >> FATAL: pre-existing shared memory block (key 2495405, ID 360501) is >>

Re: Postmaster crashed during start

2025-02-25 Thread Tom Lane
Srinath Reddy writes: > when we kill postmaster using kill -9 and start immediately it crashes with >> FATAL: pre-existing shared memory block (key 2495405, ID 360501) is still >> in use "Doctor, it hurts when I do this!" "So don't do that!" This is not a supported way of shutting down the pos