Re: show Heap Fetches in EXPLAIN for index-only scans

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: show Heap Fetches in EXPLAIN for index-only scans
Дата
Msg-id 22897.1326471869@sss.pgh.pa.us
обсуждение исходный текст
Ответ на show Heap Fetches in EXPLAIN for index-only scans  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> So here's a 5-line patch that adds the number of heap fetches to the
> EXPLAIN ANALYZE output.  This might not be all the instrumentation
> we'll ever want here, but I think we at least want this much.

Cosmetic gripes:

1. Please initialize the counter in ExecInitIndexOnlyScan.  We don't
generally rely on node fields to init as zeroes.

2. Project style is to use foo++, not ++foo, in contexts where
it doesn't actually matter which is used.
        regards, tom lane


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Disabled features on Hot Standby
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Postgres ReviewFest Patch: URI connection string support for libpq