On Thu, 2012-09-13 at 20:08 +0800, 墨香 wrote: > When i use libpq create database with a template, the template database is > opened. But when i do it once again,it tells me there is an error - the > template database is opened. I wish the tenplate database can shut down > automatically .
You should connect to another database, not the template one. BTW, this is a pgadmin mailing list, and I don't see the connection with your post. You should better send this to pgsql-general. -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com -- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support