OSDN Git Service

This is actually more of a fundamental problem with mdtruncate. It
authorBruce Momjian <bruce@momjian.us>
Mon, 17 May 1999 06:38:41 +0000 (06:38 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 17 May 1999 06:38:41 +0000 (06:38 +0000)
commit184dd28d5c2c8067d2336398a03f04a8b989e52e
tree90d51a5b57794ffca9484fafc7b72333669a8c8e
parent1125c5e4c5882f02b4152b2993bc9add4849ea7e
This is actually more of a fundamental problem with mdtruncate.  It
looks
like someone just didn't add support for multiple segments for
truncation.

The following patch seems to do the right thing, for me at least.
It passed my tests, my data looks right(no data that shouldn't be in
there) and regression is ok.

Ole Gjerde
src/backend/storage/smgr/md.c