RefLib

Reference library for AI

Back

postgresql_16:7.2.4.1 Description

PostgreSQL 16 > Reference > PostgreSQL Client Applications > dropdb > Description

dropdb destroys an existing PostgreSQL database. The user who executes this command must be a database superuser or the owner of the database.

dropdb is a wrapper around the SQL command DROP DATABASE (see postgresql_16:7.1.106). There is no effective difference between dropping databases via this utility and via other methods for accessing the server.

Back