ltree docs imprecise about sorting order

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: pierre(at)vennin(dot)net
Subject: ltree docs imprecise about sorting order
Date: 2024-05-23 16:17:50
Message-ID: 171648107027.2021729.14071096098945602529@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/ltree.html
Description:

The ltree docs available at
https://www.postgresql.org/docs/current/ltree.html state "Comparison sorts
in the order of a tree traversal" without specifying the strategy
implemented to walk the tree.
A quick experiment suggests that the implemented solution is pre-ordered
depth-first search.
I suggest the ltree docs be amended to "Comparison sorts in the order of a
pre-ordered depth-first tree traversal".

Best regards,
Pierre Vennin

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message jian he 2024-05-24 00:53:07 Re: Add small detail to RAISE statement descripton
Previous Message Erik Wienhold 2024-05-23 12:17:33 Re: column_name of ALTER MATERIALIZED VIEW should only refer to an existing column

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2024-05-23 18:10:54 Re: Avoid orphaned objects dependencies, take 3
Previous Message Heikki Linnakangas 2024-05-23 16:03:20 Re: AIX support