Skip to content

Error with Postgres 15, but not with 16: any_value(bigint) does not exist #545

@arcanemachine

Description

@arcanemachine

EDIT: Never mind, I was using a version of Postgres lower than the value specified in MyProject.Repo.min_pg_version/0. My mistake.

To resolve the issue, I just needed to modify MyProject.Repo.min_pg_version/0:

  def min_pg_version do
-    %Version{major: 16, minor: 0, patch: 0}
+    %Version{major: 15, minor: 0, patch: 0}
  end

I typically use Postgres Docker containers during development (currently on v15 to ensure compatibility with a remote Postgres instance), but I suspect the AshPostgres installer might have detected my Postgres client utilities that I had installed with apt-get install postgresql-client-16.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions