|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * IDENTIFICATION
|
10 |
| - * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.121 1999/09/24 00:24:17 tgl Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.122 1999/09/28 11:41:04 vadim Exp $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
@@ -1703,9 +1703,9 @@ failed to add item with len = %u to page %u (free space %u, nusd %u, noff %u)",
|
1703 | 1703 | * flush buffers and record status of current transaction as
|
1704 | 1704 | * committed, and continue. - vadim 11/13/96
|
1705 | 1705 | */
|
1706 |
| -FlushBufferPool(!TransactionFlushEnabled()); |
| 1706 | +FlushBufferPool(); |
1707 | 1707 | TransactionIdCommit(myXID);
|
1708 |
| -FlushBufferPool(!TransactionFlushEnabled()); |
| 1708 | +FlushBufferPool(); |
1709 | 1709 | }
|
1710 | 1710 |
|
1711 | 1711 | /*
|
@@ -1899,12 +1899,10 @@ vc_vacheap(VRelStats *vacrelstats, Relation onerel, VPageList vacuum_pages)
|
1899 | 1899 | vacrelstats->num_pages,nblocks);
|
1900 | 1900 |
|
1901 | 1901 | /*
|
1902 |
| - * we have to flush "empty" end-pages (if changed, but who knows |
1903 |
| - * it) before truncation |
1904 |
| - * |
1905 |
| - * XXX wouldn't passing 'true' to FlushRelationBuffers do the job? |
| 1902 | + * We have to flush "empty" end-pages (if changed, but who knows it) |
| 1903 | + * before truncation |
1906 | 1904 | */
|
1907 |
| -FlushBufferPool(!TransactionFlushEnabled()); |
| 1905 | +FlushBufferPool(); |
1908 | 1906 |
|
1909 | 1907 | i=FlushRelationBuffers(onerel,nblocks, false);
|
1910 | 1908 | if (i<0)
|
|