diff options
| author | Bruce Momjian | 2006-03-08 03:58:53 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2006-03-08 03:58:53 +0000 |
| commit | bc0be355c808120264108192f6695bc75beaeb43 (patch) | |
| tree | 1d3129f6443ce5ab6abfdbbb06f717c14b65bded /src/pl/plpython | |
| parent | daab4a101fc1198c20992c036157dd2a4b588a68 (diff) | |
Adjust PL regression tests for escape_string_warning.
Diffstat (limited to 'src/pl/plpython')
| -rw-r--r-- | src/pl/plpython/expected/plpython_function.out | 6 | ||||
| -rw-r--r-- | src/pl/plpython/sql/plpython_function.sql | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/pl/plpython/expected/plpython_function.out b/src/pl/plpython/expected/plpython_function.out index dc52f4af17..4ac5260f1e 100644 --- a/src/pl/plpython/expected/plpython_function.out +++ b/src/pl/plpython/expected/plpython_function.out @@ -259,13 +259,13 @@ return seq -- Universal Newline Support -- CREATE OR REPLACE FUNCTION newline_lf() RETURNS integer AS -'x = 100\ny = 23\nreturn x + y\n' +E'x = 100\ny = 23\nreturn x + y\n' LANGUAGE plpythonu; CREATE OR REPLACE FUNCTION newline_cr() RETURNS integer AS -'x = 100\ry = 23\rreturn x + y\r' +E'x = 100\ry = 23\rreturn x + y\r' LANGUAGE plpythonu; CREATE OR REPLACE FUNCTION newline_crlf() RETURNS integer AS -'x = 100\r\ny = 23\r\nreturn x + y\r\n' +E'x = 100\r\ny = 23\r\nreturn x + y\r\n' LANGUAGE plpythonu; -- -- Unicode error handling diff --git a/src/pl/plpython/sql/plpython_function.sql b/src/pl/plpython/sql/plpython_function.sql index 7428a599ee..cbee81cc63 100644 --- a/src/pl/plpython/sql/plpython_function.sql +++ b/src/pl/plpython/sql/plpython_function.sql @@ -303,15 +303,15 @@ return seq -- CREATE OR REPLACE FUNCTION newline_lf() RETURNS integer AS -'x = 100\ny = 23\nreturn x + y\n' +E'x = 100\ny = 23\nreturn x + y\n' LANGUAGE plpythonu; CREATE OR REPLACE FUNCTION newline_cr() RETURNS integer AS -'x = 100\ry = 23\rreturn x + y\r' +E'x = 100\ry = 23\rreturn x + y\r' LANGUAGE plpythonu; CREATE OR REPLACE FUNCTION newline_crlf() RETURNS integer AS -'x = 100\r\ny = 23\r\nreturn x + y\r\n' +E'x = 100\r\ny = 23\r\nreturn x + y\r\n' LANGUAGE plpythonu; -- |
