On Tue, May 31, 2005 at 14:53:41 -0300,
"Marc G. Fournier" <scrappy(at)postgresql(dot)org> wrote:
>
>
> ERROR: source database "template1" is being accessed by other users
>
> Why is this not allowed? Not that there is generally a reason to be in
> template1, but am curious as to why it prevents a new DB from being
> created if someone is connected to it ...
Because if someone changes something in the database while it is being
copied, the newly created database will probably be messed up.