| От | Tom Lane |
|---|---|
| Тема | Re: weird hash plan cost, starting with pg10 |
| Дата | |
| Msg-id | 22914.1586786026@sss.pgh.pa.us обсуждение |
| Ответ на | Re: weird hash plan cost, starting with pg10 (Richard Guo <guofenglinux@gmail.com>) |
| Ответы |
Re: weird hash plan cost, starting with pg10
|
| Список | pgsql-hackers |
Richard Guo <guofenglinux@gmail.com> writes:
> At first I was wondering if we need to check whether HashState.hashtable
> is not NULL in ExecShutdownHash() before we decide to allocate save
> space for HashState.hinstrument. And then I convinced myself that that's
> not necessary since HashState.hinstrument and HashState.hashtable cannot
> be both NULL there.
Even if the hashtable is null at that point, creating an all-zeroes
hinstrument struct is harmless.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера