Skip site navigation (1) Skip section navigation (2)

Re: Configuring fdatasync for Solaris2

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Kenji Sugita <sugita(at)sra(dot)co(dot)jp>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Configuring fdatasync for Solaris2
Date: 2001-09-11 19:25:31
Message-ID: Pine.LNX.4.30.0109112122280.680-100000@peter.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Kenji Sugita writes:

> ;;; I have installed a patch that should work for you.  I used -lrt instead of
> ;;; -lposix4.  They should be the same, but the former seems to be preferred.
> Did you posted? I would like to try to use it.

I added

    AC_SEARCH_LIBS(fdatasync, rt)

near the location where your patch went.

> My understanding is that it should be enabled by configure, since fdatasync
> is the best method for Solaris2.

Correct.  fdatasync() is (when not simply aliased to fsync) more efficient
than fsync(), which is it's reason of existence.  I find it interesting
that it's associated with "real-time" computing.

Peter Eisentraut   peter_e(at)gmx(dot)net

In response to


pgsql-patches by date

Next:From: Kenji SugitaDate: 2001-09-12 02:23:25
Subject: Re: Configuring fdatasync for Solaris2
Previous:From: Bruce MomjianDate: 2001-09-11 19:03:50
Subject: Re: Configuring fdatasync for Solaris2

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group