| От | Tom Lane |
|---|---|
| Тема | Re: tableam scan-API patch broke foreign key validation |
| Дата | |
| Msg-id | 7309.1554576206@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: tableam scan-API patch broke foreign key validation (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: tableam scan-API patch broke foreign key validation
|
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> On 2019-04-06 14:34:34 -0400, Tom Lane wrote:
>> Why should this code need to free anything? That'd be the responsibility
>> of the slot code, no?
> Well, not really. If a slot doesn't hold heap tuples internally,
> ExecFetchSlotHeapTuple() will return a fresh heap tuple (but signal so
> by setting *should_free = true if not NULL).
Ah, got it: ignoring should_free is indeed a potential issue here.
>> But clearly we need a test case here. I'll adjust Hadi's example
>> so that there's more than one tuple to check, and push it.
> Cool.
Sounds like a plan.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера