Re: [POC] Fast COPY FROM command for the table with foreign partitions
От | Andrey Lepikhov |
---|---|
Тема | Re: [POC] Fast COPY FROM command for the table with foreign partitions |
Дата | |
Msg-id | a5729617-c16d-03d8-4b60-3910720e0a46@postgrespro.ru обсуждение исходный текст |
Ответ на | Re: [POC] Fast COPY FROM command for the table with foreign partitions (Alexey Kondratov <a.kondratov@postgrespro.ru>) |
Ответы |
Re: [POC] Fast COPY FROM command for the table with foreign partitions
|
Список | pgsql-hackers |
27.07.2020 21:34, Alexey Kondratov пишет: > Hi Andrey, > > On 2020-07-23 09:23, Andrey V. Lepikhov wrote: >> On 7/16/20 2:14 PM, Amit Langote wrote: >>> Amit Langote >>> EnterpriseDB: http://www.enterprisedb.com >>> >> >> Version 5 of the patch. With changes caused by Amit's comments. > > Just got a segfault with your v5 patch by deleting from a foreign table. > It seems that ShutdownForeignScan inside node->fdwroutine doesn't have a > correct pointer to the required function. > > I haven't had a chance to look closer on the code, but you can easily > reproduce this error with the attached script (patched Postgres binaries > should be available in the PATH). It works well with master and fails > with your patch applied. I used master a3ab7a707d and v5 version of the patch with your script. No errors found. Can you check your test case? -- regards, Andrey Lepikhov Postgres Professional
В списке pgsql-hackers по дате отправления: