Bruce Momjian
d0ab409eae
Add missing third argument to open().
2009-05-08 14:06:27 +00:00
Andrew Dunstan
53972b460c
Add $PostgreSQL$ markers to a lot of files that were missing them.
...
This particular batch was just for *.c and *.h file.
The changes were made with the following 2 commands:
find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *'
find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
2008-05-17 01:28:26 +00:00
Bruce Momjian
fdf5a5efb7
pgindent run for 8.3.
2007-11-15 21:14:46 +00:00
Bruce Momjian
049f6b9baa
Properly pass third argument to open() in fsync test program.
...
Hiroshi Saito
2007-11-05 17:10:26 +00:00
Bruce Momjian
a9eb53969a
Move fsync method macro defines into /include/access/xlogdefs.h so they
...
can be used by src/tools/fsync/test_fsync.c.
2007-02-14 05:00:40 +00:00
Bruce Momjian
0d9e0d9dde
Copy fsync() defines into test_fsync.c, someday place them in an
...
include.
Propery align for O_DIRECT.
Check for write()/fsync() failures.
2006-11-25 01:22:28 +00:00
Bruce Momjian
1120c61b29
Revert out:
...
Update fsync test to match new O_DIRECT behavior.
Greg Smith
2006-11-23 17:20:47 +00:00
Bruce Momjian
3455b0a5d5
Update fsync test to match new O_DIRECT behavior.
...
Greg Smith
2006-11-23 16:41:11 +00:00
Bruce Momjian
5777dca4f8
Fix test_fsync compile on MinGW(win32)
...
Hiroshi Saito
2006-10-13 14:19:29 +00:00
Bruce Momjian
558c4367e7
Update error message and documentation for fsync test.
2005-11-16 03:32:04 +00:00
Bruce Momjian
46117e4f2a
Have test_fsync honor -f filename argument.
2005-11-16 01:31:07 +00:00
Bruce Momjian
1dc3498251
Standard pgindent run for 8.1.
2005-10-15 02:49:52 +00:00
Bruce Momjian
b6b71b85bc
Pgindent run for 8.0.
2004-08-29 05:07:03 +00:00
Bruce Momjian
c8aaa5ceec
Remove suggestiong for using test for wal_sync_method.
2004-03-20 16:18:41 +00:00
Bruce Momjian
6b34711824
Allocate 16mb file for testing.
2004-03-18 20:09:33 +00:00
Bruce Momjian
9e231bab65
Have program default to 1000 loops, and add file name and loop option.
...
Make open/close loop testings the same. Add descriptions for certain tests.
2004-03-18 19:54:00 +00:00
Bruce Momjian
9ae9ad155d
Add comment about using this testing for wal_sync_method.
2004-03-18 17:23:56 +00:00
Bruce Momjian
b2906c5be3
Add fsync tests:
...
Compare fsync before and after write's close:
Compare one o_sync write to two:
Compare file sync methods with one 8k write:
Compare file sync methods with 2 8k writes:
2004-03-18 15:26:27 +00:00
Bruce Momjian
5ddecd1e27
Mention which fsync methods are unavailable.
2004-03-18 14:02:58 +00:00
Bruce Momjian
69138a9429
Add permission mode to opens().
2004-03-18 04:11:41 +00:00
Bruce Momjian
bfaa9a0ada
Add missing include
2004-03-18 04:04:36 +00:00
Bruce Momjian
9f2696f266
Add fsync test program. It tests fsync to see if times for fsync are the
...
same when done on the write() ile descriptor and a new descriptor.
it also times various fsync methods.
2004-03-18 03:56:59 +00:00