Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Committers > pgsql: Improve ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 17034 of 17643
Post > Topic >>

pgsql: Improve CREATE/DROP/RENAME DATABASE so that when failing because

by tgl@[EMAIL PROTECTED] (Tom Lane) Aug 4, 2008 at 06:03 PM

Log Message:
-----------
Improve CREATE/DROP/RENAME DATABASE so that when failing because the
source
or target database is being accessed by other users, it tells you whether
the "other users" are live sessions or uncommitted prepared transactions.
(Indeed, it tells you exactly how many of each, but that's mostly just
because it was easy to do so.)  This should help forestall the gotcha of
not realizing that a prepared transaction is what's blocking the command.
Per discussion.

Modified Files:
--------------
    pgsql/src/backend/commands:
        dbcommands.c (r1.209 -> r1.210)
       
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c?r1=1.209&r2=1.210)
    pgsql/src/backend/storage/ipc:
        procarray.c (r1.45 -> r1.46)
       
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/procarray.c?r1=1.45&r2=1.46)
    pgsql/src/include/storage:
        procarray.h (r1.22 -> r1.23)
       
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/procarray.h?r1=1.22&r2=1.23)

-- 
Sent via pgsql-committers mailing list (pgsql-committers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
 




 1 Posts in Topic:
pgsql: Improve CREATE/DROP/RENAME DATABASE so that when failing
tgl@[EMAIL PROTECTED] (T  2008-08-04 18:03:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 7:18:30 CDT 2008.