| От | Tom Lane |
|---|---|
| Тема | Re: Partitioning option for COPY |
| Дата | |
| Msg-id | 29961.1258476108@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Partitioning option for COPY (Emmanuel Cecchet <manu@asterdata.com>) |
| Список | pgsql-hackers |
Emmanuel Cecchet <manu@asterdata.com> writes:
> Tom Lane wrote:
>> Cache? Why do you need a cache for COPY?
> Actually the cache is only activated if you use the partitioning option.
> It is just a list of oids of child tables where tuples were inserted.
Umm ... why is that useful enough to be cached?
> Why do I get this segfault if I use memory from CacheMemoryContext?
Well, CacheMemoryContext will never be reset, so either you freed the
data structure yourself or there's something wrong with the pointer
you think is pointing at the data structure ...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера