|
8 | 8 | * Portions Copyright (c) 1994, Regents of the University of California |
9 | 9 | * |
10 | 10 | * IDENTIFICATION |
11 | | - * $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.68 2008/11/26 17:08:57 heikki Exp $ |
| 11 | + * $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.69 2008/11/27 13:32:26 heikki Exp $ |
12 | 12 | * |
13 | 13 | * |
14 | 14 | * NOTES: |
@@ -638,13 +638,8 @@ fsm_search(Relation rel, uint8 min_cat) |
638 | 638 | Bufferbuf; |
639 | 639 | uint8max_avail=0; |
640 | 640 |
|
641 | | -/* |
642 | | - * Read the FSM page. The root page is created if it doesn't exist |
643 | | - * yet, to save future searchers the effort of having to call |
644 | | - * smgrnblocks() in fsm_readbuf(), only to see that the FSM is |
645 | | - * completely empty. |
646 | | - */ |
647 | | -buf=fsm_readbuf(rel,addr, (addr.level!=FSM_ROOT_LEVEL)); |
| 641 | +/* Read the FSM page. */ |
| 642 | +buf=fsm_readbuf(rel,addr, false); |
648 | 643 |
|
649 | 644 | /* Search within the page */ |
650 | 645 | if (BufferIsValid(buf)) |
|