| От | Tom Lane |
|---|---|
| Тема | Re: max freeze age query in docs |
| Дата | |
| Msg-id | 20041.1378143009@sss.pgh.pa.us обсуждение |
| Ответ на | Re: max freeze age query in docs (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: max freeze age query in docs
|
| Список | pgsql-hackers |
Andrew Dunstan <andrew@dunslane.net> writes:
> Yes, possibly, but we can't do that now, but I would like to fix the
> docs now.
If you want this in 9.3.0 it needs to be committed in the next couple of
hours.
FWIW, the idea seemed generally sane to me, but I'd suggest not depending
on reltoastrelid being zero when and only when there's no match.
Why not test whether t.oid IS NULL, instead?
Or actually, code it like this
GREATEST(age(c.relfrozenxid), age(t.relfrozenxid))
and be done, as well as not having an ugly direct use of int4larger.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера