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

pgsql: Make use of qsort_arg in several places that were formerly using

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make use of qsort_arg in several places that were formerly using
Date: 2006-10-05 17:57:41
Message-ID: 20061005175741.21EBF9FB308@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Make use of qsort_arg in several places that were formerly using klugy
static variables.  This avoids any risk of potential non-reentrancy,
and in particular offers a much cleaner workaround for the Intel compiler
bug that was affecting ginutil.c.

Modified Files:
--------------
    pgsql/contrib/btree_gist:
        btree_utils_var.c (r1.16 -> r1.17)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/btree_gist/btree_utils_var.c.diff?r1=1.16&r2=1.17)
    pgsql/contrib/tsearch2:
        rank.c (r1.18 -> r1.19)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/rank.c.diff?r1=1.18&r2=1.19)
        tsvector.c (r1.25 -> r1.26)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/tsvector.c.diff?r1=1.25&r2=1.26)
    pgsql/src/backend/access/gin:
        ginutil.c (r1.7 -> r1.8)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gin/ginutil.c.diff?r1=1.7&r2=1.8)
    pgsql/src/backend/commands:
        analyze.c (r1.99 -> r1.100)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/analyze.c.diff?r1=1.99&r2=1.100)
    pgsql/src/include/access:
        gin.h (r1.8 -> r1.9)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/access/gin.h.diff?r1=1.8&r2=1.9)

pgsql-committers by date

Next:From: Tom LaneDate: 2006-10-05 23:33:33
Subject: pgsql: Cleanup for pglz_compress code: remove dead code, const-ify API
Previous:From: Bruce MomjianDate: 2006-10-05 03:13:15
Subject: pgsql: Add indenting to Solaris FAQ, for clarity.

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