From: | Jaime Casanova <jaime(dot)casanova(at)2ndquadrant(dot)com> |
---|---|
To: | VICTOR MIGUEL MORALES CAYUELA <victormiguel(dot)moralescayuela(at)telefonica(dot)com> |
Cc: | "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: Segmentation fault in PQexec |
Date: | 2016-12-04 01:01:02 |
Message-ID: | CAJGNTeNpqC9FY9kjtuC0w73v9TUOEMMFXuAWHzid6dzY4W4-Rg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On 3 December 2016 at 11:26, VICTOR MIGUEL MORALES CAYUELA
<victormiguel(dot)moralescayuela(at)telefonica(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | abelisto | 2016-12-04 05:59:39 | BUG #14446: make_date with negative year |
Previous Message | VICTOR MIGUEL MORALES CAYUELA | 2016-12-03 16:26:35 | Segmentation fault in PQexec |