pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: duffieldzane@gmail.com
Subject: Inconsistent information on default ordering for ORDER BY clause
Date: Fri, 08 Dec 2023 04:05:15 +0000
Message-ID: <170200831532.398198.10492594033145816767@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/sql-select.html
Description:

At the top of the sql-select page it says

"If ORDER BY is not given, the rows are returned in whatever order the
system finds fastest to produce."

but later it says

"Optionally one can add the key word ASC (ascending) or DESC (descending)
after any expression in the ORDER BY clause. If not specified, ASC is
assumed by default."

The first statement implies that you cannot rely on the default ordering,
but the second implies that you can (and it will be ASC).


view thread (3+ messages)  latest in thread

Message-ID: <170200831532.398198.10492594033145816767@wrigleys.postgresql.org>
Permalink:  ../170200831532.398198.10492594033145816767@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/170200831532.398198.10492594033145816767@wrigleys.postgresql.org

 · 

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: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, duffieldzane@gmail.com
  Subject: Re: Inconsistent information on default ordering for ORDER BY clause
  In-Reply-To: <170200831532.398198.10492594033145816767@wrigleys.postgresql.org>

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

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