Thread: Bug #824: Problem creating data base !!

Bug #824: Problem creating data base !!

From
pgsql-bugs@postgresql.org
Date:
Christian Gonzalez (christiangda@cantv.net) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
Problem creating data base !!

Long Description
Recently i tried to create a data base via SSH with an user allowed to do it, but it displays the following message:
ERROR:  CREATE DATABASE: source database "template1" is being accessed by other users
createdb: database creation failed

on the other hand, it is possible to create it via pgAdminII. The server running postgresql has this configuration:
-Redhat 8.0
-PostgreSQL 7.2.3

I will apreciate any help on it.

Thanks in advance

Sample Code
[root@bdserver root]# su -l postgres
-bash-2.05b$ createdb prueba
ERROR:  CREATE DATABASE: source database "template1" is being accessed by other users
createdb: database creation failed
-bash-2.05b$


No file was uploaded with this report