How does one drop a template database from PostgreSQL?

postgres=# UPDATE pg_database SET datistemplate="false" WHERE datname="template_postgis";
UPDATE 1
postgres=# DROP DATABASE template_postgis;
DROP DATABASE
postgres=# 

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)