git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 862b20b) | patch
* Most changes are to fix warnings issued when compiling win32
2004年4月19日 17:42:59 +0000 (17:42 +0000)
2004年4月19日 17:42:59 +0000 (17:42 +0000)
commit 31338352bd89439c7c55d25c13d88338fa874771
* Most changes are to fix warnings issued when compiling win32
* removed a few redundant defines
* get_user_name safe under win32
* rationalized pipe read EOF for win32 (UPDATED PATCH USED)
* changed all backend instances of sleep() to pg_usleep

- except for the SLEEP_ON_ASSERT in assert.c, as it would exceed a
32-bit long [Note to patcher: If a SLEEP_ON_ASSERT of 2000 seconds is
acceptable, please replace with pg_usleep(2000000000L)]

I added a comment to that part of the code:

/*
* It would be nice to use pg_usleep() here, but only does 2000 sec
* or 33 minutes, which seems too short.
*/
sleep(1000000);

Claudio Natoli
29 files changed:
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/commands/dbcommands.c diff | blob | blame | history
src/backend/libpq/md5.c diff | blob | blame | history
src/backend/main/main.c diff | blob | blame | history
src/backend/port/sysv_shmem.c diff | blob | blame | history
src/backend/port/win32/shmem.c diff | blob | blame | history
src/backend/port/win32/timer.c diff | blob | blame | history
src/backend/postmaster/pgstat.c diff | blob | blame | history
src/backend/postmaster/postmaster.c diff | blob | blame | history
src/backend/storage/smgr/md.c diff | blob | blame | history
src/backend/tcop/postgres.c diff | blob | blame | history
src/backend/utils/error/assert.c diff | blob | blame | history
src/backend/utils/hash/dynahash.c diff | blob | blame | history
src/backend/utils/init/miscinit.c diff | blob | blame | history
src/bin/psql/common.h diff | blob | blame | history
src/bin/psql/copy.c diff | blob | blame | history
src/bin/psql/startup.c diff | blob | blame | history
src/bin/scripts/common.c diff | blob | blame | history
src/include/port.h diff | blob | blame | history
src/include/port/win32.h diff | blob | blame | history
src/include/storage/ipc.h diff | blob | blame | history
src/interfaces/libpq/Makefile diff | blob | blame | history
src/interfaces/libpq/fe-print.c diff | blob | blame | history
src/interfaces/libpq/win32.c diff | blob | blame | history
src/interfaces/libpq/win32.h diff | blob | blame | history
src/port/open.c diff | blob | blame | history
src/port/pipe.c diff | blob | blame | history
src/port/rand.c diff | blob | blame | history
src/port/sprompt.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /