| От | Tom Lane |
|---|---|
| Тема | Re: Exposing the stats snapshot timestamp to SQL |
| Дата | |
| Msg-id | 31909.1424400050@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Exposing the stats snapshot timestamp to SQL (Matt Kelly <mkellycs@gmail.com>) |
| Ответы |
Re: Exposing the stats snapshot timestamp to SQL
|
| Список | pgsql-hackers |
Matt Kelly <mkellycs@gmail.com> writes:
> Attached is the fixed version. (hopefully with the right mime-type and
> wrong extension. Alas, gmail doesn't let you set mime-types; time to find
> a new email client...)
Committed with a couple of changes:
* I changed the function name from pg_stat_snapshot_timestamp to
pg_stat_get_snapshot_timestamp, which seemed to me to be the style
in general use in the stats stuff for inquiry functions.
* The function should be marked stable not volatile, since its value
doesn't change any faster than all the other stats inquiry functions.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера