PgFlow.Version (PgFlow v0.7.2)

Copy Markdown View Source

Runtime identity stamped onto pgflow.workers.pgflow_version.

Upstream TypeScript workers write their package version. The elixir- prefix lets operators tell the two runtimes apart in one shared database.

Summary

Functions

Returns the worker stamp for this Elixir release.

Functions

worker_stamp()

@spec worker_stamp() :: String.t()

Returns the worker stamp for this Elixir release.

Examples

iex> PgFlow.Version.worker_stamp()
"elixir-" <> to_string(Application.spec(:pgflow, :vsn))