Consider this simplified test case taken from with.sql
CREATE TABLE parent ( id int, val text );
INSERT INTO parent VALUES ( 1, 'p1' );
WITH rcte AS ( SELECT max(id) AS maxid FROM parent ) DELETE FROM parent USING rcte WHERE id = maxid;
It results in error
ERROR: input of anonymous composite types is not implemented
Due to this error the following test cases are affected
rules.sql
with.sql
Duplicate of the bug 3521819.