Hi people,
My question is about template1 database. I am connected to my postgreSQL server via pgAdminIII and I am also logged locally to my server and running psql. When I try to create a new database in psql, it returns me this:
ERROR: source database "template1" is being accessed by other users
Obviously, its because I am logged to postgresql from pgAdminIII ; when I close it and try again it works.
My question`s why? I will have to create new databases while other users are logged in! Am I doing things wrong here?
Thanks in advance,
Best regards,
Zteev
My question is about template1 database. I am connected to my postgreSQL server via pgAdminIII and I am also logged locally to my server and running psql. When I try to create a new database in psql, it returns me this:
ERROR: source database "template1" is being accessed by other users
Obviously, its because I am logged to postgresql from pgAdminIII ; when I close it and try again it works.
My question`s why? I will have to create new databases while other users are logged in! Am I doing things wrong here?
Thanks in advance,
Best regards,
Zteev