From: Justin Clift <justin@postgresql.org>
To: pgsql-general@lists.postgresql.org
Subject: PG minor version in data directory?
Date: Sat, 19 Aug 2023 11:36:34 +1000
Message-ID: <d8bb494a0c3763309dfdfa5be41de37d@postgresql.org> (raw)
Hiyas,
Anyone know if there's a good way to tell what *minor* version
of PostgreSQL a data directory has been run with?
eg 15.3 vs 15.4
Am working on some "automatic upgrade" stuff, and I'm only aware
of the major version being tracked in PGDATA/PG_VERSION.
If the minor version is already tracked somewhere as well, that
would be extremely useful for my use case.
Otherwise, I'll have to start manually adding info to track it.
Regards and best wishes,
Justin Clift
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: justin@postgresql.org
Subject: Re: PG minor version in data directory?
In-Reply-To: <d8bb494a0c3763309dfdfa5be41de37d@postgresql.org>
References: <d8bb494a0c3763309dfdfa5be41de37d@postgresql.org>
* 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