Re: [COMMITTERS] pgsql: Improve concurrency of foreign key locking

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [COMMITTERS] pgsql: Improve concurrency of foreign key locking
Дата
Msg-id 20130123171516.GD7048@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Improve concurrency of foreign key locking  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [COMMITTERS] pgsql: Improve concurrency of foreign key locking  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [COMMITTERS] pgsql: Improve concurrency of foreign key locking  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On 2013-01-23 11:58:28 -0500, Andrew Dunstan wrote:
> 
> On 01/23/2013 10:12 AM, Alvaro Herrera wrote:
> >Improve concurrency of foreign key locking
> 
> This error message change looks rather odd, and has my head spinning a bit:
> 
> -                    errmsg("SELECT FOR UPDATE/SHARE cannot be applied to
> the nullable side of an outer join")));
> +                    errmsg("SELECT FOR UPDATE/SHARE/KEY UPDATE/KEY SHARE
> cannot be applied to the nullable side of an outer join")))
> 
> Can't we do better than that?

I don't really see how? I don't think listing only the current locklevel
really is an improvement and something like "SELECT ... FOR $locktype
cannot .." seem uncommon enough in pg error messages to be strange.
Now I aggree that listing all those locklevels isn't that nice, but I
don't really have a better idea.

Andres

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: CF3+4 (was Re: Parallel query execution)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: CF3+4 (was Re: Parallel query execution)