orafce - orafce: Rewrite defragmentation() function in a more readable - Mailing list pgsql-committers

From hlinnaka@pgfoundry.org (User Hlinnaka)
Subject orafce - orafce: Rewrite defragmentation() function in a more readable
Date
Msg-id 20100511104834.BEDD910715B2@pgfoundry.org
Whole thread Raw
List 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:

Previous
From: itagaki@postgresql.org (Takahiro Itagaki)
Date:
Subject: pgsql: Set per-function GUC settings during validating the function.
Next
From: bmomjian@pgfoundry.org (User Bmomjian)
Date:
Subject: pg-migrator - pg_migrator: Stamp 8.4.17, which removes 8.5/9.0 support