python - be: Stop setting probin to the compiled bytecode. - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - be: Stop setting probin to the compiled bytecode.
Date
Msg-id 20060625162209.E189986C4EA@pgfoundry.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Stop setting probin to the compiled bytecode.

Ultimately the savings yielded by caching the bytecode are normally slight, and
using probin broke pg_dump's, so this ended up not being a win. However, if
compilation of large procedures does prove to be taxing, this feature can be
reincarnated by creating a PL/Py bytecode cache table. Until that time comes,
just go through the regular compilation route when loading a Python procedure.

Modified Files:
--------------
    be/src:
        function.c (r1.22 -> r1.23)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/function.c.diff?r1=1.22&r2=1.23)
        module.c (r1.29 -> r1.30)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/module.c.diff?r1=1.29&r2=1.30)
        pl.c (r1.39 -> r1.40)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/pl.c.diff?r1=1.39&r2=1.40)
    be/include/pypg:
        cis.h (r1.12 -> r1.13)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/include/pypg/cis.h.diff?r1=1.12&r2=1.13)

pgsql-committers by date:

Previous
From: meskes@postgresql.org (Michael Meskes)
Date:
Subject: pgsql: Moved some free() calls that coverity correctly complains about.
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Add: < * Reuse index tuples that point to rows that are not