Re: pg_ctl reload - is it safe?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: michael(at)synchronicity(dot)com
Cc: Pgsql-Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_ctl reload - is it safe?
Date: 2003-10-14 16:00:57
Message-ID: 9756.1066147257@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Brusser <michael(at)synchronicity(dot)com> writes:
> 2003-10-10 22:37:05 ERROR: cannot read block 0 of s_noteimportlinks:
> Interrupted system call

Hmm. I found this hard to believe at first, but indeed my local man
pages for read() and write() say they can return EINTR if interrupted
by a signal. This may depend on the filesystem in use (are you using
NFS?)

We had probably better fix fd.c to retry on EINTR.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Brusser 2003-10-14 16:01:47 feature request
Previous Message Fernando Nasser 2003-10-14 15:34:14 Re: postgres --help-config