PostgreSQL Test App

  • By Canonical Data Platform
Channel Revision Published Runs on
latest/stable 119 02 May 2024
Ubuntu 22.04
latest/edge 127 10 May 2024
Ubuntu 22.04
juju deploy postgresql-test-app
Show information

Platform:

Ubuntu
22.04

Learn about actions >

  • clear-continuous-writes

    Clear the written data.

  • run-sql

    Runs a given sql command on the backend database.

    Params
    • dbname string

      database on which to run the command

    • query string

      query to run

    • readonly boolean

      whether or not to use the readonly endpoint

    • relation-id integer

      id of the relation under test

    • relation-name string

      name of the relation under test

    Required

    dbname, query, relation-id, relation-name

  • start-continuous-writes

    Start continuous writes.

  • stop-continuous-writes

    Stop continuous writes.

  • test-tls

    Checks if TLS is enabled on the backend database.

    Params
    • dbname string

      database on which to run the command

    • readonly boolean

      whether or not to use the readonly endpoint

    • relation-id integer

      id of the relation under test

    • relation-name string

      name of the relation under test

    Required

    dbname, relation-id, relation-name