Re: Export user visible function to make use of convert_to_scalar
В списке pgsql-patches по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Export user visible function to make use of convert_to_scalar |
| Дата | |
| Msg-id | 20732.1185807618@sss.pgh.pa.us обсуждение |
| Ответ на | Export user visible function to make use of convert_to_scalar (Gregory Stark <stark@enterprisedb.com>) |
| Ответы |
Re: Export user visible function to make use of convert_to_scalar
|
| Список | pgsql-patches |
Gregory Stark <stark@enterprisedb.com> writes:
> Attached is a patch which implements, as discussed briefly on -hackers, a
> user-visible function to get at the information that convert_to_scalar uses to
> generate selectivity estimates.
This is an astonishingly bad idea, as it exposes and thereby sets in
stone one of the worst, most in-need-of-rethinking areas in selfuncs.c.
> I didn't add any documentation because I couldn't find a reasonable place to
> put such a low level function.
No kidding.
> I don't think we would want to encourage
> applications to use it
The way to not encourage it is to not provide it.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера