Re: Segmentation fault in PQexec

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: Segmentation fault in PQexec
Дата
Msg-id CAJGNTeNpqC9FY9kjtuC0w73v9TUOEMMFXuAWHzid6dzY4W4-Rg@mail.gmail.com
обсуждение исходный текст
Ответ на Segmentation fault in PQexec  (VICTOR MIGUEL MORALES CAYUELA <victormiguel.moralescayuela@telefonica.com>)
Ответы Re: Segmentation fault in PQexec  (VICTOR MIGUEL MORALES CAYUELA <victormiguel.moralescayuela@telefonica.com>)
Список pgsql-bugs
On 3 December 2016 at 11:26, VICTOR MIGUEL MORALES CAYUELA
<victormiguel.moralescayuela@telefonica.com> wrote:
>
> Hello,
>
> I receive a segmentation fault signal calling PQexec function with an already established connection and a valid SQL
query,as frame #4 shows. 
>
> I printed both the connection variable (conexion_bbdd) and the SQL query variable (sql_formateado) and both are
valid.
>

sorry, this is actually very little information to work with.
i made a simple program and wasn't able to reproduce your problem.

Do you reproduce this consistently? can you make a simpler program
that reproduces the problem you're seeing?
Are you sure the problem is not in your own code? specially, look at
the size of the "sql_formateado" variable.

sending code as images is not very nice btw.

PS: are you sure your problem is not fixed in 9.6.1?

--
Jaime Casanova                      www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

В списке pgsql-bugs по дате отправления:

Предыдущее
От: VICTOR MIGUEL MORALES CAYUELA
Дата:
Сообщение: Segmentation fault in PQexec
Следующее
От: abelisto@gmail.com
Дата:
Сообщение: BUG #14446: make_date with negative year