Re: facing problem in accessing postgresql with c language normally - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: facing problem in accessing postgresql with c language normally
Date
Msg-id 12068.1305240774@sss.pgh.pa.us
Whole thread Raw
In response to facing problem in accessing postgresql with c language normally  (hatem gamal elzanaty <hatem@softpro.bz>)
List pgsql-interfaces
hatem gamal elzanaty <hatem@softpro.bz> writes:
> i'm new to postgresql programming in c language the following code give the following error beneath and no reason for

> that error :
> *** glibc detected *** ../../object/006/psql_test.bin: double free or 
> corruption (top): 0x085dfea8 ***

You're PQclear'ing the same result twice in some code paths.
        regards, tom lane


pgsql-interfaces by date:

Previous
From: hatem gamal elzanaty
Date:
Subject: facing problem in accessing postgresql with c language normally
Next
From: hatem gamal elzanaty
Date:
Subject: how to write cgi script that is hosted under apache and accessing postgresql