Thread: pgsql: Improve behavior of WITH RECURSIVE with an untyped literal in the

pgsql: Improve behavior of WITH RECURSIVE with an untyped literal in the

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Improve behavior of WITH RECURSIVE with an untyped literal in the
non-recursive term.  Per an example from Dickson S. Guedes.

Modified Files:
--------------
    pgsql/src/backend/parser:
        parse_cte.c (r2.1 -> r2.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_cte.c?r1=2.1&r2=2.2)
    pgsql/src/test/regress/expected:
        with.out (r1.2 -> r1.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/with.out?r1=1.2&r2=1.3)
    pgsql/src/test/regress/sql:
        with.sql (r1.2 -> r1.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/with.sql?r1=1.2&r2=1.3)