diff options
Diffstat (limited to 'src/backend/access/transam/xact.c')
-rw-r--r-- | src/backend/access/transam/xact.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c index c7725b0f621..56ecf9d2f43 100644 --- a/src/backend/access/transam/xact.c +++ b/src/backend/access/transam/xact.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/transam/xact.c,v 1.159 2004/01/07 18:56:24 neilc Exp $ + * $PostgreSQL: pgsql/src/backend/access/transam/xact.c,v 1.160 2004/01/09 21:08:46 momjian Exp $ * * NOTES * Transaction aborts can now occur two ways: @@ -561,13 +561,7 @@ RecordTransactionCommit(void) */ if (CommitDelay > 0 && enableFsync && CountActiveBackends() >= CommitSiblings) - { - struct timeval delay; - - delay.tv_sec = 0; - delay.tv_usec = CommitDelay; - (void) select(0, NULL, NULL, NULL, &delay); - } + PG_USLEEP(CommitDelay); XLogFlush(recptr); } |