pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Chao Li <li.evan.chao@gmail.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Cc: Fujii Masao <masao.fujii@gmail.com>
Cc: Peter Eisentraut <peter@eisentraut.org>
Cc: Jeff Davis <pgsql@j-davis.com>
Cc: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Subject: Re: Fix unqualified catalog references in psql describe queries
Date: Tue, 9 Jun 2026 09:08:50 +0000
Message-ID: <aifYIhmiqNr9mf6f@bdtpg> (raw)
In-Reply-To: <aie76hpKavQ9nAqd@paquier.xyz>
References: <C809E3C7-2437-486E-B626-0BE5F40BBB6C@gmail.com>
	<aie76hpKavQ9nAqd@paquier.xyz>

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





view thread (14+ messages)  latest in thread

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

 · 

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-hackers@postgresql.org
  Cc: bertranddrouvot.pg@gmail.com, michael@paquier.xyz, li.evan.chao@gmail.com, pgsql-hackers@lists.postgresql.org, masao.fujii@gmail.com, peter@eisentraut.org, pgsql@j-davis.com, ashutosh.bapat.oss@gmail.com, amit.kapila16@gmail.com
  Subject: Re: Fix unqualified catalog references in psql describe queries
  In-Reply-To: <aifYIhmiqNr9mf6f@bdtpg>

* 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