Changed error message for blocks by prepared transactions

Поиск
Список
Период
Сортировка
От Andreas 'ads' Scherbaum
Тема Changed error message for blocks by prepared transactions
Дата
Msg-id 20090622235319.71efc348@iridium.wars-nicht.de
обсуждение исходный текст
Ответы Re: Changed error message for blocks by prepared transactions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello,

the small attached patch changes the error message for a blocked
database in case there are prepared transactions. The original message
"accessed by other users" is misleading.


Example:

----- snip -----
postgres=# begin;
BEGIN
postgres=# prepare transaction 'abc';
PREPARE TRANSACTION
postgres=# \c template1
psql (8.4rc1)
Sie sind jetzt verbunden mit der Datenbank »template1«.
template1=# alter database postgres rename to test;
ERROR:  database "postgres" is being blocked by prepared transactions
DETAIL:  There are 1 prepared transaction(s) using the database.
----- snip -----


Translation still pending, how to add new messages to the .po files?



Kind regards

--
                Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors
Volunteer Regional Contact, Germany - PostgreSQL Project

PGDay.eu 2009 in Paris, Nov. 6/7, http://www.pgday.eu/

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: 8.4 open item: copy performance regression?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8.4 open item: copy performance regression?