From: | petere(at)postgresql(dot)org (Peter Eisentraut) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix Unicode support in PL/Python Check calls of |
Date: | 2009-09-13 22:07:06 |
Message-ID: | 20090913220706.705A5753FB7@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Fix Unicode support in PL/Python
Check calls of PyUnicode_AsEncodedString() for NULL return, probably
because the encoding name is not known. Add special treatment for
SQL_ASCII, which Python definitely does not know.
Since using SQL_ASCII produces errors in the regression tests when
non-ASCII characters are involved, we have to put back various regression
test result variants.
Modified Files:
--------------
pgsql/src/pl/plpython:
plpython.c (r1.129 -> r1.130)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython.c?r1=1.129&r2=1.130)
pgsql/src/pl/plpython/expected:
README (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/README?r1=1.2&r2=1.3)
Added Files:
-----------
pgsql/src/pl/plpython/expected:
plpython_unicode_2.out (r1.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_unicode_2.out?rev=1.4&content-type=text/x-cvsweb-markup)
plpython_unicode_3.out (r1.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_unicode_3.out?rev=1.4&content-type=text/x-cvsweb-markup)
plpython_unicode_5.out (r1.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_unicode_5.out?rev=1.1&content-type=text/x-cvsweb-markup)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2009-09-13 22:12:47 | Re: [COMMITTERS] pgsql: Add Unicode support in PL/Python |
Previous Message | Peter Eisentraut | 2009-09-13 19:52:29 | pgsql: Document that autovacuum_max_workers can only be set at server |