PostgreSQL - Common Table Expressions
Consider this recursive CTE:
What is wrong if this query runs forever without stopping?
WITH RECURSIVE path(node) AS (SELECT 1 UNION ALL SELECT node + 1 FROM path WHERE node < 3) SELECT * FROM path;
What is wrong if this query runs forever without stopping?
