pgsql: Add docs and regression test about sorting the output of a - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Add docs and regression test about sorting the output of a
Date
Msg-id 20081014004135.12BBB7545A4@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Add docs and regression test about sorting the output of a recursive query in
depth-first search order.  Upon close reading of SQL:2008, it seems that the
spec's SEARCH DEPTH FIRST and SEARCH BREADTH FIRST options do not actually
guarantee any particular result order: what they do is provide a constructed
column that the user can then sort on in the outer query.  So this is actually
just as much functionality ...

Modified Files:
--------------
    pgsql/doc/src/sgml:
        queries.sgml (r1.49 -> r1.50)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/queries.sgml?r1=1.49&r2=1.50)
    pgsql/src/test/regress/expected:
        with.out (r1.7 -> r1.8)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/with.out?r1=1.7&r2=1.8)
    pgsql/src/test/regress/sql:
        with.sql (r1.7 -> r1.8)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/with.sql?r1=1.7&r2=1.8)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Eliminate unnecessary array[] decoration in examples of recursive
Next
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Fix oversight in the relation forks patch: forgot to copy fork