Skip to main content

Postgres is our favorite relational database, but it is difficult to use directly in serverless environments, and impossible to use directly from a browser. Platter Postgres is a branching, serverless version of Postgres.

Supported Clients#

PlatformStatus
Direct Connection✅ complete
Node✅ complete
Web (read-only)✅ complete
Web (read + write)🚧 in progress
Rust🚧 in progress

Features#

Databases are created on shared postgres clusters, managed by Platter. For dedicated instances, contact us at [email protected].

Most extensions are available on the shared cluster. If there's an extension missing that you would like to see, contact us at [email protected].

Creation#

New Postgres instances are created with platter postgres create. This instance includes a new database associated with a trunk branch (main by default) that can be branched later on using platter postgres branch create.

To add client configurations for previously-created instances, use platter postgres client configure.

Usage#

Choose one of the connection methods below to learn about how to use your new Postgres instances.

Branch connections with url#

The url command returns a connection string for a given branch of a given instance. This connection string can be used with an ORM (usually as an environment variable) or through a client like psql, e.g.:

psql $(platter postgres branch url main -i my-database)