AshPostgres.Temporal.PlainPrimaryKey exception (ash_postgres v2.14.2)

Copy Markdown View Source

Used when a temporal resource's table has a plain primary key instead of a WITHOUT OVERLAPS one, so it can't hold more than one version of a record.

Migrations generated by AshPostgres before 2.14.1 only created the temporal primary key on PostgreSQL 19, and fell back to a plain one otherwise. See the temporal resources guide for how to fix the table.

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %AshPostgres.Temporal.PlainPrimaryKey{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  path: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  table: term(),
  vars: term()
}

Create an Elixir.AshPostgres.Temporal.PlainPrimaryKey without raising it.

Keys

  • :resource
  • :table