python - be: Only pfree when recoding occurs. - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - be: Only pfree when recoding occurs.
Date
Msg-id 20070526175421.DA6ED21707E@pgfoundry.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Only pfree when recoding occurs.

This caused a double pfree when the server's encoding is ASCII. ASCII being a
compatible subset of utf-8, no transformation is necessary, so the function
simply returned the source.

Modified Files:
--------------
    be/src:
        pl.c (r1.46 -> r1.47)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/pl.c.diff?r1=1.46&r2=1.47)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Create hooks to let a loadable plugin monitor (or even replace)
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Repair two constraint-exclusion corner cases triggered by proving