Re: CREATE DATABASE fails when template1 being accessed ... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: CREATE DATABASE fails when template1 being accessed ...
Date
Msg-id 17108.1117565349@sss.pgh.pa.us
Whole thread Raw
In response to CREATE DATABASE fails when template1 being accessed ...  ("Marc G. Fournier" <scrappy@postgresql.org>)
Responses Re: CREATE DATABASE fails when template1 being accessed ...
List pgsql-hackers
"Marc G. Fournier" <scrappy@postgresql.org> writes:
> ERROR:  source database "template1" is being accessed by other users

> Why is this not allowed?

It's a rather lame attempt to ensure that you don't get a corrupt copy
due to the database changing while you copy it ... I'd like to find
a better way to do it ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jeffrey W. Baker"
Date:
Subject: Re: Consumer-grade vs enterprise-grade disk drives
Next
From: Bruno Wolff III
Date:
Subject: Re: CREATE DATABASE fails when template1 being accessed ...