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

pgsql: Tweak the tree descent loop in fsm_search_avail to not look at

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak the tree descent loop in fsm_search_avail to not look at
Date: 2008-12-10 17:11:18
Message-ID: 20081210171118.C107D7545A4@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Tweak the tree descent loop in fsm_search_avail to not look at the
right child if it doesn't need to.  This saves some miniscule number
of cycles, but the ulterior motive is to avoid an optimization bug
known to exist in SCO's C compiler (and perhaps others?)

Modified Files:
--------------
    pgsql/src/backend/storage/freespace:
        fsmpage.c (r1.2 -> r1.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/freespace/fsmpage.c?r1=1.2&r2=1.3)

pgsql-committers by date

Next:From: User Cunha17Date: 2008-12-11 00:58:02
Subject: snapshot - src: Fix for internal NOTICE messages in production
Previous:From: Bruce MomjianDate: 2008-12-10 11:05:49
Subject: pgsql: Update journaling performance docs based on comments by Michael

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