Re: [HACKERS] postmaster crash and .s.pgsql file

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: goran(at)bildbasen(dot)se (Goran Thyni)
Cc: jamesh(at)interpath(dot)com, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] postmaster crash and .s.pgsql file
Date: 1998-01-27 12:21:12
Message-ID: 199801271221.HAA00527@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
>
> On Mon, 26 Jan 1998, Bruce Momjian wrote:
>
> :
> : When the postmaster crashes, it leaves the /tmp/.s.pgsql file in /tmp.
> : Is there a way to auto-remove it after a postmaster crash?
> :
> : --
> : Bruce Momjian
> : maillist(at)candle(dot)pha(dot)pa(dot)us
> :
>
> I found that when using "-S" with postmaster, the file doesn't get
> created at all.
>
> I have submitted a patch for this before,
> I think a got applied, maybe it has been
> (accidently) reverted since.
> (patch below)
>
> The same goes for Bruce's problem with
> socket name being 1 char short.
>
> I will look at removing the file on startup when I'm in there.
>
> Don't, it gets removed at shutdown except when crashing.
> Removing at startup opens a whole new can of worms.
> (You must no postmaster is not already running.)

Yes. All is working, thanks.

--
Bruce Momjian
maillist(at)candle(dot)pha(dot)pa(dot)us

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-01-27 12:37:07 Re: [HACKERS] Snapshot 270198 compile error
Previous Message James Hughes 1998-01-27 11:14:14 Re: [HACKERS] postmaster crash and .s.pgsql file