Add Support for PostgreSQL 16

Bug #2037656 reported by Jason Stephenson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Committed
Wishlist
Unassigned

Bug Description

Now that Pg 16 is released, we should add installation support for PostgreSQL 16.

https://www.postgresql.org/about/news/postgresql-16-released-2715/

Changed in evergreen:
status: New → Confirmed
tags: added: database
Changed in evergreen:
assignee: nobody → Jason Stephenson (jstephenson)
milestone: none → 3.next
tags: added: pullrequest
Changed in evergreen:
assignee: Jason Stephenson (jstephenson) → nobody
Revision history for this message
Jason Stephenson (jstephenson) wrote :

I have pushed a branch that I have been testing for the past week: working/user/dyrcona/lp2037656-add-p16.

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dyrcona/lp2037656-add-p16

I've been using Pg16 with an upgraded copy of production data and RedisRF and have been hitting the vm wit test programs fetching data over osrf-gateway-v1 as well as running database updates, etc. I have encountered no issues so far, and all database and Perl tests pass.

I think this is ready for more eyes, particularly on the performance of Did-you-mean, which I have disabled on this test system.

Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks, Jason! I've been using postgres 16 and your patch for development for a while now, and have noticed no ill effects. I am signing off on that basis: user/sandbergja/lp2037656-add-p16-signoff / https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/sandbergja/lp2037656-add-p16-signoff

I can't speak to how postgres 16 works in production-like environments, particularly with regard to then did-you-mean feature.

tags: added: signedoff
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Thanks for the signoff, Jane!

I have pushed a rebased branch based on main that includes the install docs update for disabling the JIT.

The rebase omits Jane's signoff because it won't hurt to test this again.

working/user/dyrcona/lp2037656-add-p16-rebase (https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dyrcona/lp2037656-add-p16-rebase)

tags: removed: signedoff
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Rebased and added Jane's signoff: collab/dyrcona/lp2037656-add-pg16-signoff (https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/collab/dyrcona/lp2037656-add-pg16-signoff)

I'm prepping code for inclusion in 3.14.

tags: added: signedoff
Changed in evergreen:
milestone: 3.next → 3.14-beta
Revision history for this message
Jason Stephenson (jstephenson) wrote :

The Evergreen branch above conflicts with the branch for bug 2054842. Whichever goes in to main first, the other will require a rebase.

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

Tested PG16 with Ubuntu 24.04 and install went well, along with all tests passing.

Signoff Branch with adjustments for Ubuntu 24.04 at
working: user/stompro/lp2037656-add-pg16-signoff-plus-24.04

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/stompro/lp2037656-add-pg16-signoff-plus-24.04

Revision history for this message
Jason Stephenson (jstephenson) wrote :

Thanks, Jane and Josh for the testing and the rebase!

I have pushed this to main for inclusion in Evergreen 3.14.

Changed in evergreen:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.