I have created a database cluster in PostgreSQL-9.6 using pg_createcluster command with user (-u) specified different from default postgres. I would like to know how to add a new/existing database into this cluster instead of the default 'main' cluster?
Adding a database in a new cluster created on postgresql?
184 views Asked by rupav jain At
1
Conect to the template1 or postgres database in the new cluster and execute sql
CREATE DATABASEetc