| От | Tom Lane |
|---|---|
| Тема | Re: segfault in libpq |
| Дата | |
| Msg-id | 1086.1410799830@sss.pgh.pa.us обсуждение |
| Ответ на | segfault in libpq ("frank ernest" <doark@mail.com>) |
| Список | pgsql-interfaces |
"frank ernest" <doark@mail.com> writes:
> Hi, before I report this as a bug I'd like to know if it's my code or not. I'm not going to send the whole function
thatstarts the process since it's several KiB in size (but yell if yu want it anyways.) The problem in libpq is with
thevaiable:
> paramValues
It seems very likely that your code is not setting up the paramValues
array the way libpq expects. Since you've not shown us the code that
prepares that array, nor even the variable declarations, that's just
an educated guess ... but PQexecPrepared has been around for a long
time and there are no other reports of bugs here.
regards, tom lane
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера