diff options
author | Vadim B. Mikheev <vadim4o@yahoo.com> | 1999-09-28 11:41:09 +0000 |
---|---|---|
committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 1999-09-28 11:41:09 +0000 |
commit | 3fea625e9ddfbf19eb4fc32c9704b6e4300fed6b (patch) | |
tree | 80d428badad5586bde261cfa59a4512a122ceff5 /src/backend/commands | |
parent | 539b6304b339d84153b754bd0f7aacb51f5380f2 (diff) |
Make tree compilable (+WAL).
Diffstat (limited to 'src/backend/commands')
-rw-r--r-- | src/backend/commands/vacuum.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/backend/commands/vacuum.c b/src/backend/commands/vacuum.c index e5cf7b0c88a..62ef4028d76 100644 --- a/src/backend/commands/vacuum.c +++ b/src/backend/commands/vacuum.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.121 1999/09/24 00:24:17 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.122 1999/09/28 11:41:04 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -1703,9 +1703,9 @@ failed to add item with len = %u to page %u (free space %u, nusd %u, noff %u)", * flush buffers and record status of current transaction as * committed, and continue. - vadim 11/13/96 */ - FlushBufferPool(!TransactionFlushEnabled()); + FlushBufferPool(); TransactionIdCommit(myXID); - FlushBufferPool(!TransactionFlushEnabled()); + FlushBufferPool(); } /* @@ -1899,12 +1899,10 @@ vc_vacheap(VRelStats *vacrelstats, Relation onerel, VPageList vacuum_pages) vacrelstats->num_pages, nblocks); /* - * we have to flush "empty" end-pages (if changed, but who knows - * it) before truncation - * - * XXX wouldn't passing 'true' to FlushRelationBuffers do the job? + * We have to flush "empty" end-pages (if changed, but who knows it) + * before truncation */ - FlushBufferPool(!TransactionFlushEnabled()); + FlushBufferPool(); i = FlushRelationBuffers(onerel, nblocks, false); if (i < 0) |