python - be: Convert source encoding to utf-8 for compile(src).

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Convert source encoding to utf-8 for compile(src).
Date: 2005-06-30 01:22:39
Message-ID: 20050630012239.55A8B112617B@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Convert source encoding to utf-8 for compile(src).

Currently, the function definition statically specifies utf-8 as the
encoding, this can be dynamically specified to the database's encoding. However,
at this time it is convenient to simply transform the encoding to utf-8 for the
sake of indent(). Once indent() and other aspects of function compilation become
more encoding independent, plpy can easily be made to compile functions without
explicit conversion.

Modified Files:
--------------
be/src:
pl.c (r1.20 -> r1.21)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/pl.c.diff?r1=1.20&r2=1.21)

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2005-06-30 01:40:05 Re: pgsql: More cleanup on roles patch.
Previous Message Tom Lane 2005-06-30 00:00:52 pgsql: Improve the checkpoint signaling mechanism so that the bgwriter