pgsql: Adjust plpython to convert \r\n and \r to \n in Python scripts,

Lists: pgsql-committers
From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust plpython to convert \r\n and \r to \n in Python scripts,
Date: 2005-03-24 17:22:45
Message-ID: 20050324172245.0D2CF534AD@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

Log Message:
-----------
Adjust plpython to convert \r\n and \r to \n in Python scripts,
per recent discussion concluding that this is the Right Thing. Add
regression test check for this behavior. Michael Fuhr

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/src/pl/plpython:
feature.expected (r1.9 -> r1.9.8.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/feature.expected.diff?r1=1.9&r2=1.9.8.1)
plpython.c (r1.58 -> r1.58.4.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython.c.diff?r1=1.58&r2=1.58.4.1)
plpython_function.sql (r1.6 -> r1.6.8.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython_function.sql.diff?r1=1.6&r2=1.6.8.1)
plpython_test.sql (r1.2 -> r1.2.12.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython_test.sql.diff?r1=1.2&r2=1.2.12.1)