Skip site navigation (1) Skip section navigation (2)

pgsql: Delete the temporary file used in buffered GiST build,after the

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Delete the temporary file used in buffered GiST build,after the
Date: 2012-05-30 09:06:11
Message-ID: E1SZer5-0004IK-0Z@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Tom LaneDate: 2012-05-30 14:54:54
Subject: pgsql: Fix incorrect password transformation in contrib/pgcrypto'sDES
Previous:From: Tom LaneDate: 2012-05-30 03:22:29
Subject: pgsql: Rewrite --section option to decouple it from--schema-only/--dat

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group