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

Started by Tom Laneover 21 years ago1 messagescommitters
Jump to latest
#1Tom Lane
tgl@svr1.postgresql.org

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)