Skip to content

Readyset always reports 13.4 postgres version, even when using higher postgres #1562

@Object905

Description

@Object905

Describe the problem
While trying to use readyset for django 5.2 project (postgres 13 support was removed in this version) I got error django.db.utils.NotSupportedError: PostgreSQL 14 or later is required (found 13.4).

To Reproduce
Run quickstart/compose.postgres.yml. Possibly change postgres version, but 13.4 is reported even on posgres 14

Run psql -d testdb -h 127.0.0.1 -p 5433 -U postgres
That shows psql (17.6, server 13.4 (Readyset)) at the top.

Expected behavior
Upstream postgres version is reported.
There seems to be code that should be doing this, but falls back to DEFAULT_DB_VERSION.

Environment

  • Version: docker.io/readysettech/readyset:latest
  • Docker
  • Postgres 14 and up
  • psql, Django

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions