Skip to main content
Lists the PostgreSQL services in the effective organization. Returns one page unless you pass --all.

Flags

integer
Page number to fetch, starting from 1. Defaults to the first page.
integer
Number of services per page, 1 or more. If left out, the server’s default is used.
boolean
default:"false"
Fetch every page instead of just one.
string
Organization to act in, instead of the selected one. See Organizations and context.
boolean
default:"false"
Print the result as JSON on stdout.

Examples

Output

CPU is in millicores (1000m is one vCPU), memory in MiB and storage in GiB. With --json:
Connection details, networking and backup settings aren’t included in the list. Use sabaoth postgres get for those.

Behavior

  • One page by default. Showing 20 of 45. means there are more pages. Use --page or --all to see them.
  • --all never returns a partial list as if it were complete. If an error happens part-way through, the whole command fails. If it stops at the CLI’s internal page limit, you get a warning that the list may be incomplete (in --json mode, inside a warnings array).

Errors

You may also see authentication, organization and network errors. See Error codes.