| От | Tom Lane |
|---|---|
| Тема | Re: random() (was Re: New GUC to sample log queries) |
| Дата | |
| Msg-id | 14047.1545855555@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: random() (was Re: New GUC to sample log queries) (Peter Geoghegan <pg@bowt.ie>) |
| Ответы |
Re: random() (was Re: New GUC to sample log queries)
|
| Список | pgsql-hackers |
Peter Geoghegan <pg@bowt.ie> writes:
> I'm beginning to think that the technique that I came up with to make
> "getting tired" deterministic ought to be supporting as a debugging
> option if we're to do away with internal use of the generic/seedable
> backend PRNG.
I have no objection to providing such a thing as a debug option; I just
don't want it to be reachable from SQL (at least not without pieces
that aren't there normally, e.g. a loadable C function).
Replacing random() might actually make that easier not harder, since
we'd have more control over what happens when.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера