-- Fail upon insertion of a key containing a space into into ISOK_QUERIES INSERT INTO isok_queries ( iqname, error, type, keep -- , first_run, last_run , role, search_path, query, comment) VALUES('Test key' , false , 'type1' , false , NULL , NULL , $$VALUES ('R1', 'Result number 1', NULL) , ('R2', 'Result number 2', NULL) , ('R3', 'Result number 3', NULL);$$ , 'No comment' ); ERROR: new row for relation "isok_queries" violates check constraint "IQName: Cannot contain any whitespace characters" DETAIL: Failing row contains (Test key, f, type1, f, null, null, null, null, VALUES ('R1', 'Result number 1', NULL) , ('R2', ..., No comment).