DROP TABLE copytest;

CREATE TABLE copytest (a text, b text);

INSERT INTO copytest VALUES ('t,n,g','a');
INSERT INTO copytest VALUES (NULL,NULL);

COPY copytest TO STDOUT WITH DELIMITER 'n' NULL 'n';
