Re: Fix unqualified catalog references in psql describe queries - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Fix unqualified catalog references in psql describe queries
Date
Msg-id aijEfGcHUJvqjzNj@paquier.xyz
Whole thread
In response to Re: Fix unqualified catalog references in psql describe queries  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Responses Re: Fix unqualified catalog references in psql describe queries
List pgsql-hackers
On Tue, Jun 09, 2026 at 09:08:50AM +0000, Bertrand Drouvot wrote:
> Now I wonder if we shoud not "protect" the operators too. They could also
> lead to wrong results (if not worst).

Kind of true.  Still we have been pretty lax about the operators as
they also lead to less readable queries.

There was one spot missing with string_agg() two lines down one of the
pg_get_expr() changes.  The spots for relation and function
qualifications are worth addressing anyway, and consistent with the
file style.  Fixed the extra spot I have noticed, and applied the
result on HEAD.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Fix DROP PROPERTY GRAPH "unsupported object class" error
Next
From: Henson Choi
Date:
Subject: LLVM JIT: any JIT-compiled query crashes (SIGILL) on a libLLVM 19 + ASAN build