Change to default PG version

1 view
Skip to first unread message

Brent Moran

unread,
Feb 16, 2025, 9:49:46 PMFeb 16
to Mathesar Developers
Hello!

With the merge of https://github.com/mathesar-foundation/mathesar/pull/4263, the default PostgreSQL version in the dev setup has been upgraded to 17. This may cause problems for developers, since the PostgreSQL data directory for version 17 isn't compatible with the previous default, 13. You should do one of the following:
  • Knock out your docker state, or at least the volume used for PostgreSQL data,
  • Set the PG_VERSION environment variable in your .env file, or
  • Ignore this and hope nothing happens.
The last option is the easiest, and will work unless something triggers a pull of your dev DB image. But, if you have trouble, try the first two options.

Brent
Reply all
Reply to author
Forward
0 new messages