2 -- Universal Newline Support
4 CREATE OR REPLACE FUNCTION newline_lf() RETURNS integer AS
5 E'x = 100\ny = 23\nreturn x + y\n'
7 CREATE OR REPLACE FUNCTION newline_cr() RETURNS integer AS
8 E'x = 100\ry = 23\rreturn x + y\r'
10 CREATE OR REPLACE FUNCTION newline_crlf() RETURNS integer AS
11 E'x = 100\r\ny = 23\r\nreturn x + y\r\n'
25 SELECT newline_crlf();