]> granicus.if.org Git - postgresql/commit
Adjust pg_fsync_writethrough so that it will set errno when failing
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 22 Feb 2010 15:26:14 +0000 (15:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 22 Feb 2010 15:26:14 +0000 (15:26 +0000)
commite9a383303ce2f47a2733419e8d23e9e5a20b5ff2
treee2e1374ca4fab6c7e2e00f2cd146444d1725fa7c
parent3229db2d42969a4cc6434cb612ca03a19e661b43
Adjust pg_fsync_writethrough so that it will set errno when failing
on a platform that doesn't support this operation.  The former coding
would allow an unrelated errno to be reported, which would be quite
misleading.  Not sure if this has anything to do with the current
buildfarm failures, but it's certainly bogus as-is.
src/backend/storage/file/fd.c