public inbox for [email protected]
help / color / mirror / Atom feedFrom: Julien Rouhaud <[email protected]>
To: Magnus Hagander <[email protected]>
Cc: PostgreSQL Developers <[email protected]>
Subject: Re: Adding extension default version to \dx
Date: Fri, 10 Jan 2025 20:37:17 +0800
Message-ID: <Z4EUfdJM4hcekPam@jrouhaud> (raw)
In-Reply-To: <CABUevEyTMyXC6OvCWkj+rPnHrfi8_Rw_+DD_jzgFFNPqgf+Oig@mail.gmail.com>
References: <CABUevEyTMyXC6OvCWkj+rPnHrfi8_Rw_+DD_jzgFFNPqgf+Oig@mail.gmail.com>
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.
view thread (2+ messages)
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: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Adding extension default version to \dx
In-Reply-To: <Z4EUfdJM4hcekPam@jrouhaud>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox