Re: pg_ctl reload - is it safe? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_ctl reload - is it safe?
Date
Msg-id 9756.1066147257@sss.pgh.pa.us
Whole thread Raw
In response to pg_ctl reload - is it safe?  (Michael Brusser <michael@synchronicity.com>)
Responses Re: pg_ctl reload - is it safe?
List pgsql-hackers
Michael Brusser <michael@synchronicity.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


pgsql-hackers by date:

Previous
From: Fernando Nasser
Date:
Subject: Re: postgres --help-config
Next
From: Michael Brusser
Date:
Subject: feature request