Minimum postgres version is now 9.5 ? 9.6 ? #3689

Closed
opened 2025-12-29 18:30:38 +01:00 by adam · 0 comments
Owner

Originally created by @candlerb on GitHub (May 14, 2020).

Originally assigned to: @jeremystretch on GitHub.

Change Type

[ ] Addition
[X] Correction
[ ] Deprecation
[ ] Cleanup (formatting, typos, etc.)

Area

[X] Installation instructions
[ ] Configuration parameters
[ ] Functionality/features
[ ] REST API
[ ] Administration/development
[ ] Other

Proposed Changes

As far as I am aware. there has been no notification to users in release notes etc about a change in the minimum required postgres version for Netbox. However:

  • This page says that Django 3.0 dropped support for postgres 9.4 - with 9.5 to be supported through 3.1 but dropped in 3.2. Netbox 2.8+ is using Django 3.0.
  • Netbox's own .travis.yml uses version 9.6 for tests
  • This forum post suggests problems with SQL syntax when using 9.4

I propose that first, a decision is made about the minimum version the Netbox developers are prepared to support (9.5 as per Django, or 9.6 as per Travis test config), and then update the following:

  • docs/index.md
  • docs/installation/1-postgresql.md (2 places)
  • netbox/templates/exceptions/programming_error.html
  • Also mention the new minimum requirement in docs/release-notes/version-2.8.md

It may also be worth adding a database migration with an explicit version test, like netbox/extras/migrations/0008_reports.py did when the minimum postgres version became 9.4.

Originally created by @candlerb on GitHub (May 14, 2020). Originally assigned to: @jeremystretch on GitHub. ### Change Type [ ] Addition [X] Correction [ ] Deprecation [ ] Cleanup (formatting, typos, etc.) ### Area [X] Installation instructions [ ] Configuration parameters [ ] Functionality/features [ ] REST API [ ] Administration/development [ ] Other ### Proposed Changes As far as I am aware. there has been no notification to users in release notes etc about a change in the minimum required postgres version for Netbox. However: * [This page](https://code.djangoproject.com/wiki/SupportedDatabaseVersions) says that Django 3.0 dropped support for postgres 9.4 - with 9.5 to be supported through 3.1 but dropped in 3.2. Netbox 2.8+ is using Django 3.0. * Netbox's own [.travis.yml](https://github.com/netbox-community/netbox/blob/develop/.travis.yml) uses version 9.6 for tests * This [forum post](https://groups.google.com/forum/#!topic/netbox-discuss/B7ta2pvREsU) suggests problems with SQL syntax when using 9.4 I propose that first, a decision is made about the minimum version the Netbox developers are prepared to support (9.5 as per Django, or 9.6 as per Travis test config), and then update the following: * `docs/index.md` * `docs/installation/1-postgresql.md` (2 places) * `netbox/templates/exceptions/programming_error.html` * Also mention the new minimum requirement in `docs/release-notes/version-2.8.md` It may also be worth adding a database migration with an explicit version test, like `netbox/extras/migrations/0008_reports.py` did when the minimum postgres version became 9.4.
adam added the status: acceptedtype: documentation labels 2025-12-29 18:30:38 +01:00
adam closed this issue 2025-12-29 18:30:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3689