postgres/src/backend/access
Heikki Linnakangas 19c8dc839b Unite ReadBufferWithFork, ReadBufferWithStrategy, and ZeroOrReadBuffer
functions into one ReadBufferExtended function, that takes the strategy
and mode as argument. There's three modes, RBM_NORMAL which is the default
used by plain ReadBuffer(), RBM_ZERO, which replaces ZeroOrReadBuffer, and
a new mode RBM_ZERO_ON_ERROR, which allows callers to read corrupt pages
without throwing an error. The FSM needs the new mode to recover from
corrupt pages, which could happend if we crash after extending an FSM file,
and the new page is "torn".

Add fork number to some error messages in bufmgr.c, that still lacked it.
2008-10-31 15:05:00 +00:00
..
common Use guc.c's parse_int() instead of pg_atoi() to parse fillfactor in 2008-07-23 17:29:53 +00:00
gin Unite ReadBufferWithFork, ReadBufferWithStrategy, and ZeroOrReadBuffer 2008-10-31 15:05:00 +00:00
gist Unite ReadBufferWithFork, ReadBufferWithStrategy, and ZeroOrReadBuffer 2008-10-31 15:05:00 +00:00
hash Unite ReadBufferWithFork, ReadBufferWithStrategy, and ZeroOrReadBuffer 2008-10-31 15:05:00 +00:00
heap Unite ReadBufferWithFork, ReadBufferWithStrategy, and ZeroOrReadBuffer 2008-10-31 15:05:00 +00:00
index Fix small query-lifespan memory leak introduced by 8.4 change in index AM API 2008-10-10 14:17:08 +00:00
nbtree Unite ReadBufferWithFork, ReadBufferWithStrategy, and ZeroOrReadBuffer 2008-10-31 15:05:00 +00:00
transam Unite ReadBufferWithFork, ReadBufferWithStrategy, and ZeroOrReadBuffer 2008-10-31 15:05:00 +00:00
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00