toolkit/func/core/pkg_postgresql/20-drop-db.sh

5 lines
123 B
Bash
Raw Permalink Normal View History

2022-06-20 23:49:14 +00:00
#!/bin/bash
r_log "postgresql" "Dropping database"
su - postgres -c 'dropdb pg_test' > /dev/null 2>&1
r_checkExitStatus $?