pgsql: Delete the temporary file used in buffered GiST build, after the - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Delete the temporary file used in buffered GiST build, after the
Date
Msg-id E1SZer5-0004IK-0Z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/be02b16826ec9789ed3cb06e4e7531c94e497118

Modified Files
--------------
src/backend/access/gist/gistbuild.c        |    1 +
src/backend/access/gist/gistbuildbuffers.c |    2 +-
2 files changed, 2 insertions(+), 1 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Change the way parent pages are tracked during buffered GiST bui
Next
From: Tom Lane
Date:
Subject: pgsql: Fix incorrect password transformation in contrib/pgcrypto's DES