You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
Upgrade to PostgreSQL 14.
## Why is this needed
Besides all the major improvements made from PostgreSQL 10 to 14, there is one particular feature that I wanted to use:
[A nicer way to work with JSON](https://www.postgresql.org/docs/14/datatype-json.html#JSONB-SUBSCRIPTING), like the hardware data model :-)
Fixes: #551
The sandbox MR is at tinkerbell/playground#110.
## How Has This Been Tested?
Besides the unit tests executed by CI, I've successfully tested this locally in a sandbox, and PostgreSQL 14 is now running:
```console
root@provisioner:~# docker exec -i compose-db-1 psql -U tinkerbell -A -c 'select version()'
version
PostgreSQL 14.0 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20210424) 10.3.1 20210424, 64-bit
(1 row)
```
## How are existing users impacted? What migration steps/scripts do we need?
<!--- Fixes a bug, unblocks installation, removes a component of the stack etc -->
<!--- Requires a DB migration script, etc. -->
## Checklist:
I have:
- [ ] updated the documentation and/or roadmap (if required)
- [ ] added unit or e2e tests
- [ ] provided instructions on how to upgrade
It would be nice to upgrade to PostgreSQL 14.
Besides all the major improvements made from PostgreSQL 10 to 14, there is one particular feature that I wanted to use:
A nicer way to work with JSON, like the hardware data model :-)
The text was updated successfully, but these errors were encountered: