ReadyForQuery()

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема ReadyForQuery()
Дата
Msg-id 1167931232.20749.195.camel@silverbirch.site
обсуждение исходный текст
Ответы Re: ReadyForQuery()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
In postgres.c main loop, I note that we issue ReadyForQuery() *after*
updating pgstat and setting the ps display.

Wouldn't it be better to issue ReadyForQuery() and then issue the stat
stuff in the gap between processing? 

That way we would be less likely to care about pgstat and the ps,
potentially getting rid of the GUCs for them completely?

(I'm looking to place a PG_TRACE macro in there, so we can work out how
long is spent waiting for client.)

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] wal_checksum = on (default) | off
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: 8.3 pending patch queue