Re: Adding extension default version to \dx

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Adding extension default version to \dx
Date: 2025-01-10 12:37:17
Message-ID: Z4EUfdJM4hcekPam@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Fri, Jan 10, 2025 at 01:04:14PM +0100, Magnus Hagander wrote:
> In an effort to make at least a couple of more people realize they have to
> run ALTER EXTENSION UPDATE after they've upgraded an extension, as well as
> make it a bit easier to realize when you have to do it, I propose we add
> the default version of an extension to \dx in psql.

+1, I need the info very often and \dx is way faster than writing a query for
that when I need it, especially since \dx output is not too big.

> We currently show the
> installed version in the schema, but no indications that a newer one might
> be installed on the system.
>
> PFA a patch to do this.

Patch LGTM, tested locally and I like the output.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2025-01-10 12:41:21 Re: pgbench error: (setshell) of script 0; execution of meta-command failed
Previous Message Alena Rybakina 2025-01-10 12:04:51 Re: Vacuum statistics