The following SQL generates either a SEGFAULT or an assertion failure
(depending on compile-time options):

<blockquote><verbatim>
CREATE TABLE t1(x);
SELECT * FROM ((SELECT x FROM t1)) AS y;


This problem was traced to check-in [7fecced466d86a66] which was part of
version 3.7.16.