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

From Bertrand Drouvot
Subject Re: Fix unqualified catalog references in psql describe queries
Date
Msg-id aifYIhmiqNr9mf6f@bdtpg
Whole thread
Responses Re: Fix unqualified catalog references in psql describe queries
List pgsql-hackers
Hi,

On Tue, Jun 09, 2026 at 04:08:26PM +0900, Michael Paquier wrote:
> On Mon, Jun 08, 2026 at 04:46:46PM +0800, Chao Li wrote:
> > This is not a big problem, but it provides a way to pollute the
> > result of \dRs+ by adding a fake pg_foreign_server earlier in
> > search_path.
> 
> Which is always annoying..  Will fix and double-check later, thanks.

Now I wonder if we shoud not "protect" the operators too. They could also
lead to wrong results (if not worst).

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [PATCH] Add pg_get_table_ddl() to reconstruct CREATE TABLE statements
Next
From: solai v
Date:
Subject: Re: Logging parallel worker draught