agora inbox for pgsql-interfaces@postgresql.org
help / color / mirror / Atom feedFrom: Tom Lane <tgl@sss.pgh.pa.us>
To: hatem gamal elzanaty <hatem@softpro.bz>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: facing problem in accessing postgresql with c language normally
Date: Thu, 12 May 2011 18:52:54 -0400
Message-ID: <12068.1305240774@sss.pgh.pa.us> (raw)
In-Reply-To: <4DCC54DA.6030102@softpro.bz>
References: <4DCC54DA.6030102@softpro.bz>
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
view thread (2+ messages)
Message-ID: <12068.1305240774@sss.pgh.pa.us>
Permalink: ../12068.1305240774@sss.pgh.pa.us/
Also on: postgresql.org/message-id/12068.1305240774@sss.pgh.pa.us
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, hatem@softpro.bz
Subject: Re: facing problem in accessing postgresql with c language normally
In-Reply-To: <12068.1305240774@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox