Never got a reply on -bugs... do people think this is an issue?

----- Forwarded message from "Jim C. Nasby" <[EMAIL PROTECTED]> -----
[EMAIL PROTECTED]:32]~:1%createdb test;
CREATE DATABASE
[EMAIL PROTECTED]:32]~:2%dropdb test; createdb test;
DROP DATABASE
createdb: database creation failed: ERROR:  source database "template1"
is being accessed by other users
[EMAIL PROTECTED]:32]~:3%

I realize that the changes made in 8.1 WRT using the postgres database
fix this particular case, but is there a bigger issue with there being a
race condition here? Presumably dropdb returns before the connection is
actually closed from the database's standpoint...
-- 
Jim C. Nasby, Sr. Engineering Consultant      [EMAIL PROTECTED]
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to