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

orafce - orafce: Rewrite defragmentation() function in a more readable

From: hlinnaka(at)pgfoundry(dot)org (User Hlinnaka)
To: pgsql-committers(at)postgresql(dot)org
Subject: orafce - orafce: Rewrite defragmentation() function in a more readable
Date: 2010-05-11 10:48:34
Message-ID: 20100511104834.BEDD910715B2@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Rewrite defragmentation() function in a more readable way. The logic is
still the same, it first sorts the array and then moves slots and
merges adjacent unused slots. This should also fix bug 1010784, I'm not
100% clear what the bug was, but apparently the old defragmentation()
managed to screw up the list_c counter in some cases.

Modified Files:
--------------
    orafce:
        shmmc.c (r1.16 -> r1.17)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/orafce/orafce/shmmc.c?r1=1.16&r2=1.17)

pgsql-committers by date

Next:From: User BmomjianDate: 2010-05-11 14:11:06
Subject: pg-migrator - pg_migrator: Stamp 8.4.17, which removes 8.5/9.0 support
Previous:From: Takahiro ItagakiDate: 2010-05-11 04:57:51
Subject: pgsql: Set per-function GUC settings during validating the function.

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