To work with a database in a Managed Service for PostgreSQL cluster, you need to connect to it. Once you connect to the cluster, all PostgreSQL commands are available for you to execute. For example, you can perform these basic operations:Documentation Index
Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
Use this file to discover all available pages before exploring further.
How to create databases
To create a database, run the CREATE DATABASE command:\l command to list all databases in the cluster.
When a new database is created, you don’t automatically switch to it. Use the \c <name> command to connect to the database you just created.
How to modify databases
To make changes to a database, run the ALTER DATABASE command:How to delete databases
To delete a database, run the DROP DATABASE command. This operation cannot be undone.Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission.