Re: setting -i and -N 100 when starting postmaster - Mailing list pgsql-admin

From Tom Lane
Subject Re: setting -i and -N 100 when starting postmaster
Date
Msg-id 5100.1405548326@sss.pgh.pa.us
Whole thread Raw
In response to setting -i and -N 100 when starting postmaster  (John Scalia <jayknowsunix@gmail.com>)
List pgsql-admin
John Scalia <jayknowsunix@gmail.com> writes:
> My wonderful colleagues in charge of our production database have screwed up royally. They managed to corrupt the
productiondatabase by having two instances of postgresql talking  
> to the same database/same filesystem/same time. Now, they'd like me to fix it. Sigh...

Just outta curiosity, how'd they do that?  There are interlocks that are
supposed to prevent it.

You can defeat the interlocks by manually deleting the postmaster lock
file, which is why you're *never* supposed to do that.  I'm curious if
they did that, or found some new way.

            regards, tom lane


pgsql-admin by date:

Previous
From: Jerry Sievers
Date:
Subject: Re: Cloning PostgreSQL 8.3.7
Next
From: mitalpritmani
Date:
Subject: Re: Server 9.1 doesn't restart and no output/log - data files seem corrupted