Databases

List available PostgreSQL versions

Changed on

Returns the PostgreSQL major versions a database can be created on, newest first. Local mode lists only the version its server runs. This is a public endpoint that doesn't require authentication.

get/databases/postgres-versions

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    none declared

Response

List of available PostgreSQL versions

object[] required
version, string

PostgreSQL major version number

name, string

Human-readable version name

default, boolean

True on the version to preselect for a new database; absent on the others

recommended, boolean

True on the version recommended for new databases; absent on the others

deprecated, boolean

Whether this version is deprecated (approaching EOL)

Example response

[
  {
    "version": "18",
    "name": "PostgreSQL 18"
  }
]

Changes