Re: reporting reason for certain locks

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: reporting reason for certain locks
Дата
Msg-id 1290697464-sup-3004@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: reporting reason for certain locks  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: reporting reason for certain locks  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Excerpts from Robert Haas's message of jue nov 25 11:56:27 -0300 2010:

> No, what I was suggesting was taking the existing function:
> 
> extern void pgstat_report_waiting(bool waiting);
> 
> ...and instead doing something like this:
> 
> extern void pgstat_report_waiting(char *reason);
> 
> ...and then arrange to pass the reason via the eponymous argument.

Ah, I was looking for a SQL-callable function :-)  Hmm, maybe this would
work.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: reporting reason for certain locks
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Horizontal Write Scaling