Delete the temporary file used in buffered GiST build, after the build.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: be02b16826ec9789ed3cb06e4e7531c94e497118
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2012-05-30T09:05:57Z
Releases: 9.2.0
Delete the temporary file used in buffered GiST build, after the build.

There were two bugs here: We forgot to call gistFreeBuildBuffers() function
at the end of build, and we passed interXact == true to BufFileCreateTemp,
so the file wasn't automatically cleaned up at end-of-transaction either.

Files