Re: EINTR error in SunOS

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: EINTR error in SunOS
Date: 2006-01-01 01:21:48
Message-ID: 87psncd9oz.fsf@asmodeus.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Doug Royer <Doug(at)Royer(dot)com> writes:

> The 'intr' option to NFS is not the same as EINTR. It
> it means 'if the server does not respond for a while,
> then return an EINTR', just like any other disk read()
> or write() does when it fails to reply.

No, you're thinking of 'soft'. 'intr' (which is actually a modifier
to the 'hard' setting) causes the I/O to hang until the server comes
back or the process gets a signal (in which case EINTR is returned).

-Doug

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-01-01 04:18:48 Checks for command string
Previous Message August Zajonc 2006-01-01 01:02:24 Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and