Re: Hash id in pg_stat_statements

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Hash id in pg_stat_statements
Дата
Msg-id 23336.1349100612@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Hash id in pg_stat_statements  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Hash id in pg_stat_statements
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> Can we please expose the internal hash id of the statements in
> pg_stat_statements?

> I know there was discussions about it earlier, and it wasn't done with
> an argument of it not being stable between releases (IIRC).

Worse than that: it could change across a minor version update.  These
are internal data structures we're hashing, and we've been known to
have to change them for bug-fix purposes.

> I've now run into multiple customer installations where it would be
> very useful to have. The usecase is mainly storing snapshots of the
> pg_stat_statements output over time and analyzing those.

Doesn't that immediately refute your claim that unstable hash values
would be okay?
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CTE optimization fence on the todo list?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Oid registry