Thread: BUG #2045: test_fsync "-f" option

BUG #2045: test_fsync "-f" option

From
"Akio Iwaasa"
Date:
The following bug has been logged online:

Bug reference:      2045
Logged by:          Akio Iwaasa
Email address:      a-iwaasa@sol.dti.ne.jp
PostgreSQL version: 8.0 , 8.1
Operating system:   RedHat EL ES 3.0
Description:        test_fsync "-f" option
Details:

Dear Sirs,

This is a bug report of fsync test tool
(src/tools/fsync/test_fsync.c), not of
PostgreSQL server.

This tool's "-f filename" option is ignored.
This tool always uses FSYNC_FILENAME
(/var/tmp/test_fsync.out) when open file.

Sincerely yours,
Akio Iwaasa

Re: BUG #2045: test_fsync "-f" option

From
Bruce Momjian
Date:
Akio Iwaasa wrote:
>
> The following bug has been logged online:
>
> Bug reference:      2045
> Logged by:          Akio Iwaasa
> Email address:      a-iwaasa@sol.dti.ne.jp
> PostgreSQL version: 8.0 , 8.1
> Operating system:   RedHat EL ES 3.0
> Description:        test_fsync "-f" option
> Details:
>
> Dear Sirs,
>
> This is a bug report of fsync test tool
> (src/tools/fsync/test_fsync.c), not of
> PostgreSQL server.
>
> This tool's "-f filename" option is ignored.
> This tool always uses FSYNC_FILENAME
> (/var/tmp/test_fsync.out) when open file.

Fixed in 8.1.X and CVS HEAD.  Thanks for the report.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073