Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c2bb287

Browse files
committed
Fix new GIST build code to work under CLOBBER_CACHE_ALWAYS.
Can't say if this fixes *all* cases, but at least we get through the "point" regression test now, which hyrax's last run did not. Report: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hyrax&dt=2020-09-19%2021%3A27%3A23
1 parent 3d13867 commit c2bb287

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/access/gist/gistbuild.c

+1
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ gist_indexsortbuild(GISTBuildState *state)
408408
* replaced with the real root page at the end.
409409
*/
410410
page = palloc0(BLCKSZ);
411+
RelationOpenSmgr(state->indexrel);
411412
smgrextend(state->indexrel->rd_smgr, MAIN_FORKNUM, GIST_ROOT_BLKNO,
412413
page, true);
413414
state->pages_allocated++;

0 commit comments

Comments
 (0)