pgsql: Add docs and regression test about sorting the output of a

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add docs and regression test about sorting the output of a
Date: 2008-10-14 00:41:35
Message-ID: 20081014004135.12BBB7545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-10-14 08:06:40 pgsql: Fix oversight in the relation forks patch: forgot to copy fork
Previous Message Tom Lane 2008-10-14 00:12:44 pgsql: Eliminate unnecessary array[] decoration in examples of recursive