aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plpython/sql/plpython_function.sql
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-03-08 03:58:53 +0000
committerBruce Momjian <bruce@momjian.us>2006-03-08 03:58:53 +0000
commitbc0be355c808120264108192f6695bc75beaeb43 (patch)
tree1d3129f6443ce5ab6abfdbbb06f717c14b65bded /src/pl/plpython/sql/plpython_function.sql
parentdaab4a101fc1198c20992c036157dd2a4b588a68 (diff)
downloadpostgresql-bc0be355c808120264108192f6695bc75beaeb43.tar.gz
postgresql-bc0be355c808120264108192f6695bc75beaeb43.zip
Adjust PL regression tests for escape_string_warning.
Diffstat (limited to 'src/pl/plpython/sql/plpython_function.sql')
-rw-r--r--src/pl/plpython/sql/plpython_function.sql6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pl/plpython/sql/plpython_function.sql b/src/pl/plpython/sql/plpython_function.sql
index 7428a599eea..cbee81cc63f 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;
--