| От | Tom Lane |
|---|---|
| Тема | Re: problem inserting tuples with access methods |
| Дата | |
| Msg-id | 15795.1053697300@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | problem inserting tuples with access methods (Alice Lottini <alice_lottini@yahoo.it>) |
| Список | pgsql-hackers |
Alice Lottini <alice_lottini@yahoo.it> writes:
> Here you have the routine handling the insertion and,
> following, the error which occurs at its execution.
The most likely bet is a simple coding error leading to dereferencing
an invalid pointer. I'd suggest getting out your debugger to find out
exactly where the crash occurs.
A CommandCounterIncrement() after every tuple insertion is surely
overkill, but beyond that I don't see anything obviously wrong with the
code ... unless perhaps that it assumes without proof that the relations
have exactly two columns --- if they don't, that could lead to the core
dump.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера