RefLib

Reference library for AI

Back

postgresql_16:7.2.5.5 Examples

PostgreSQL 16 > Reference > PostgreSQL Client Applications > dropuser > Examples

To remove user joe from the default database server: $ dropuser joe

To remove user joe using the server on host eden, port 5000, with verification and a peek at the underlying command: $ dropuser -p 5000 -h eden -i -e joe Role "joe" will be permanently removed. Are you sure? (y/n) y DROP ROLE joe;

Back