Medic.Checks.Postgres (Medic v0.1.0) View Source

Checks that Postgres is running, and is set up correctly.

Examples

{Check.Postgres, :running?},
{Check.Postgres, :correct_version_running?},
{Check.Postgres, :role_exists?},
{Check.Postgres, :correct_data_directory?},
{Check.Postgres, :database_exists?, ["my_db"]}

Link to this section Summary

Functions

Verifies that the running Postgres database matches the version defined in ASDF's .tool-versions file.

Link to this section Functions

Link to this function

correct_data_directory?()

View Source
Link to this function

correct_version_running?()

View Source

Verifies that the running Postgres database matches the version defined in ASDF's .tool-versions file.

Link to this function

database_exists?(database_name)

View Source