Commit Graph

324 Commits

Author SHA1 Message Date
Bruce Momjian
d56b736db0 Update thread test to do getpid() in while loop, also use weather.com
rather than slashdot.org for testing.
2004-04-04 17:23:54 +00:00
Bruce Momjian
b803cf4320 Clean up thread test program. 2004-03-28 02:37:31 +00:00
Bruce Momjian
db9a957618 Add test for thread-safe errno to thread test program. 2004-03-27 23:02:44 +00:00
Bruce Momjian
c8aaa5ceec Remove suggestiong for using test for wal_sync_method. 2004-03-20 16:18:41 +00:00
Bruce Momjian
8726591720 Make test_fsync use optimizer flag. 2004-03-18 23:27:29 +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
00051c9b56 Remove acccidental object/binary files. 2004-03-18 03:57:58 +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
Bruce Momjian
c6f0559371 Check and set thread-safe functions separately, rather than as a single
variable.

Remove thread locking for non-thread-safe functions, instead throw a
compile error.

Platforms will have to re-run tools/thread to record their thread
safety.
2004-02-11 21:44:06 +00:00
Bruce Momjian
011ad7efec Set only LC_ALL for sort in tags creation. 2004-02-02 17:29:32 +00:00
Bruce Momjian
10bb17e334 Set locale to C before doing sort in make_ctags. 2004-02-01 23:11:33 +00:00
Bruce Momjian
21a1202281 Remove trailing newline from file. 2004-01-04 00:50:11 +00:00
Bruce Momjian
e3107b2844 Mention grabbing typedefs from pgsql/lib too. 2004-01-04 00:11:29 +00:00
Bruce Momjian
85f51dea1c Supress ecpg thread test if configure didn't enable threads. Fix
tools/thread to run even if configure didn't enable threads because this
test is used before enabling threads for the OS.
2003-12-19 23:29:15 +00:00
Bruce Momjian
32abf0e781 Bump all version numbers and version stamps mentioned in RELEASE_CHANGES. 2003-11-30 06:09:54 +00:00
PostgreSQL Daemon
969685ad44 $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
Peter Eisentraut
8878cc4cd7 Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl.
Fixes compilation failure with --enable-thread-safety --with-perl and Perl
5.6.1.
2003-11-24 13:16:22 +00:00
Peter Eisentraut
d28bacd897 Add note to update config.guess and config.sub at the start of beta. 2003-11-04 10:33:28 +00:00
Bruce Momjian
e69b2f3b0e Remove weird test in ccsym 2003-10-24 21:28:52 +00:00
Bruce Momjian
cded27cacd Don't reference pthread.h unless we have threads enabled, per Peter. 2003-10-24 20:48:10 +00:00
Bruce Momjian
d665217278 Fix include used by entab. 2003-10-07 17:40:09 +00:00
Bruce Momjian
a994d5984f Adjust pgindent for newer awks.
Nigel J. Andrews
2003-09-28 00:25:22 +00:00
Bruce Momjian
b4ca39b956 Allow pgindent to work with newer BSD indents. 2003-09-28 00:22:58 +00:00
Bruce Momjian
16e4adc38f Update bsd indent patch. 2003-09-27 21:26:09 +00:00
Bruce Momjian
ee84100cc1 Cleanup pgindent patch. 2003-09-27 21:19:47 +00:00
Bruce Momjian
bb9ec59419 Add compile step to instructions. 2003-09-27 17:29:30 +00:00
Bruce Momjian
391dceb462 Finalize configuration of thread_test program. 2003-09-27 16:24:45 +00:00
Bruce Momjian
227dd9b427 Rename thread compile flag. Move thread test program to tools/thread,
and improve tests.
2003-09-27 15:32:48 +00:00
Bruce Momjian
38eb18092c Tighten casting of function call pointers for threads. 2003-09-03 22:34:08 +00:00
Bruce Momjian
2310dd3af2 Add reporting of specificy threading failure functions. 2003-09-03 19:36:31 +00:00
Bruce Momjian
4cc247f74b Add test for thread-safeness of libc functions. 2003-09-03 19:30:31 +00:00
Bruce Momjian
5a288903b9 Guard against pgindent changing =- to = -. 2003-08-30 14:59:34 +00:00
Bruce Momjian
4369432405 Not needed, already in CVS. 2003-08-17 00:14:13 +00:00
Bruce Momjian
bfeabcc84f Add description of error style. 2003-08-16 23:53:54 +00:00
Bruce Momjian
0e2b12bd96 pgindent fix for new typedefs. 2003-08-08 21:25:06 +00:00
Bruce Momjian
c7fda55cc6 Update pgindent readme. 2003-08-07 15:02:43 +00:00
Bruce Momjian
78154363f9 Update typedef names for pgindent 7.4. 2003-08-07 05:18:14 +00:00
Tom Lane
2f9c859ea1 Fix some copyright notices that weren't updated. Improve copyright tool
so it won't miss 'em again.
2003-08-04 23:59:41 +00:00
Bruce Momjian
19f7ca78cc Fix for 2003 again. 2003-08-04 02:27:25 +00:00
Bruce Momjian
eb20aa9edb Update copyright script for 2003. 2003-08-04 02:22:37 +00:00
Bruce Momjian
1ffc5b05a3 Update comments. 2003-08-01 13:48:58 +00:00
Bruce Momjian
5fbb42eb3f Update comments. 2003-08-01 13:48:25 +00:00
Bruce Momjian
83f62e9d29 cvs log used -b for head, not -rHEAD. 2003-08-01 05:52:44 +00:00
Bruce Momjian
b2312c4eae No need for Static.Entries, use -rHEAD. 2003-07-25 02:11:17 +00:00