Re: Flush some statistics within running transactions

Поиск
Список
Период
Сортировка
От Zsolt Parragi
Тема Re: Flush some statistics within running transactions
Дата
Msg-id CAN4CZFOgx0steMN23afxauphppMzvBD3y7u8Oi6XV8Eg3D3m1Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Flush some statistics within running transactions  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Ответы Re: Flush some statistics within running transactions
Список pgsql-hackers
Hello

  do { \
+ pgstat_report_mixed_anytime = true; \
  if (pgstat_should_count_relation(rel)) \
  (rel)->pgstat_info->counts.numscans++; \

Shouldn't these pgstat_report_mixed_anytime changes go inside the if
statement in all macros?

+/* Track if mixed anytime stats need to be flushed */
+
 /* Backend-local stats state */
 extern PGDLLIMPORT PgStat_LocalState pgStatLocal;

This seems to be a leftover comment



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