From: Efraim Flashner <efraim@flashner.co.il>
To: Nicolas Graves <ngraves@ngraves.fr>
Cc: Andreas Enge <andreas@enge.fr>,
guix-devel@gnu.org, Christopher Baines <mail@cbaines.net>
Subject: Re: Default postgresql version
Date: Mon, 28 Oct 2024 12:24:30 +0200 [thread overview]
Message-ID: <Zx9mXnPDL8o50qsP@3900XT> (raw)
In-Reply-To: <874j4wtuny.fsf@ngraves.fr>
[-- Attachment #1: Type: text/plain, Size: 2311 bytes --]
On Mon, Oct 28, 2024 at 10:59:29AM +0100, Nicolas Graves wrote:
> On 2024-10-28 10:49, Andreas Enge wrote:
>
> > Hello,
> >
> > I have just pushed this commit
> > https://issues.guix.gnu.org/74006
> > that changes the default postgresql version from 10 (which has a CVE) to
> > just the postgresql variable (now at 15).
> >
> > Since as I understood changing postgresql versions requires a
> > (manual?)
>
> Indeed, in https://www.postgresql.org/support/versioning/:
>
> Upgrading
>
> Major versions make complex changes, so the contents of the data
> directory cannot be maintained in a backward compatible way. A
> dump/reload of the database or use of the pg_upgrade application is
> required for major upgrades. We also recommend reading the upgrading
> section of the major version you are planning to upgrade to. You can
> upgrade from one major version to another without upgrading to
> intervening versions, but we recommend reading the release notes of all
> intervening major versions prior to doing so.
>
> > update of the database format, I am wondering whether we should
> > - instead again choose a default value of a specific version?
> > or maybe #f and force the user to choose one themselves?
>
> #f seems a good option since it forces users to update manually when
> they require it, no magic updates involved. Maybe we should add a
> comment about why the default is #f, and point to the url of the
> documentation about upgrades.
>
> > - add a news item to be displayed during "guix pull"?
>
> I think a news item is necessary.
>
> Sorry I should have thought about it with the patch, let me know if
> you'd wish I write this patch + news item.
>
> > Andreas
> >
>
I feel like there is room for an 'upgrade action for postgresql, to dump
a database (also useful for a 'backup action!) and then re-import it,
but I didn't want to come anywhere near touching that.
Also, thank you for updating it! I was recently feeling like it was on
the 10 branch for too long and could use a bump. And some CVE handling.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2024-10-28 10:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-28 9:49 Default postgresql version Andreas Enge
2024-10-28 9:59 ` Nicolas Graves
2024-10-28 10:24 ` Efraim Flashner [this message]
2024-10-28 11:02 ` Andreas Enge
2024-10-28 11:17 ` Nicolas Graves
2024-10-28 13:00 ` Efraim Flashner
2024-10-29 11:13 ` Nicolas Graves
2024-10-29 11:42 ` Andreas Enge
2024-10-29 12:07 ` Andreas Enge
2024-10-29 12:53 ` Christopher Baines
2024-10-29 14:14 ` Christopher Baines
2024-10-29 15:12 ` Andreas Enge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zx9mXnPDL8o50qsP@3900XT \
--to=efraim@flashner.co.il \
--cc=andreas@enge.fr \
--cc=guix-devel@gnu.org \
--cc=mail@cbaines.net \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.