agora inbox for pgsql-docs@postgresql.org  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: pierre@vennin.net, PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: ltree docs imprecise about sorting order
Date: Wed, 16 Oct 2024 21:02:48 -0400
Message-ID: <ZxBiOIuP6EIOvhBc@momjian.us> (raw)
In-Reply-To: <171648107027.2021729.14071096098945602529@wrigleys.postgresql.org>
References: <171648107027.2021729.14071096098945602529@wrigleys.postgresql.org>

On Thu, May 23, 2024 at 04:17:50PM +0000, PG Doc comments form wrote:
> 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".

[ moved to hackers ]

Can someone confirm this and/or create a patch?

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  When a patient asks the doctor, "Am I going to die?", he means 
  "Am I going to die soon?"





view thread (3+ messages)  latest in thread

Message-ID: <ZxBiOIuP6EIOvhBc@momjian.us>
Permalink:  ../ZxBiOIuP6EIOvhBc@momjian.us/
Also on:    postgresql.org/message-id/ZxBiOIuP6EIOvhBc@momjian.us

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: bruce@momjian.us, pgsql-hackers@postgresql.org
  Subject: Re: ltree docs imprecise about sorting order
  In-Reply-To: <ZxBiOIuP6EIOvhBc@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox