psql: fix order of join clauses when listing extensions

Magnus Hagander <magnus@hagander.net>

Commit: 112e40b867b3351ecc49b86a4fa07ec182b82e65
Author: Magnus Hagander <magnus@hagander.net>
Date: 2025-06-05T07:54:16Z
Releases: 18.0
psql: fix order of join clauses when listing extensions

Commit d696406a9b2 added a new join to the query for extensions, but did
so in the wrong place, causing the AND clause to be applied to the wrong
join.

Author:	Suraj Kharage <suraj.kharage@enterprisedb.com>
Reviewed-By: Dilip Kumar <dilipbalaut@gmail.com>
Discussion: https://postgr.es/m/CAF1DzPVBrN-cmPB2zb7ZU=2J4vEF2fNdArGCG9w+9fnKq4v8tg@mail.gmail.com

Files

PathChange+/−
src/bin/psql/describe.c modified +2 −2

Discussion