Adjust plpython to convert \r\n and \r to \n in Python scripts,
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpython/feature.expected | modified | +18 −0 |
| src/pl/plpython/plpython.c | modified | +7 −3 |
| src/pl/plpython/plpython_function.sql | modified | +16 −0 |
| src/pl/plpython/plpython_test.sql | modified | +7 −0 |