work_scripts/disable_db.sh

5 lines
81 B
Bash

#!/bin/sh
update pg_database set datallowconn=false where datname='DOCITRANS';