On Tue, Sep 1, 2026 at 6:05 PM jian he <jian(dot)universality(at)gmail(dot)com> wrote:
> IMHO, Using
> ORDER BY conrelid::regclass::text COLLATE "C"
> is more future-proof.
Hm, I don't think so. In most of the queries the WHERE clause is
literally conrelid = 'something'::regclass, and sorting by a constant
is no sort at all. In the other queries the conrelid is not even
unique in the output.
- Richard