Skip site navigation (1) Skip section navigation (2)

Re:

From: "Robert A(dot) Knop Jr(dot)" <rknop(at)lilys(dot)lbl(dot)gov>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re:
Date: 2000-06-30 23:15:20
Message-ID: Pine.LNX.4.10.10006301612540.759-100000@milano.lbl.gov (view raw or flat)
Thread:
Lists: pgsql-interfaces
> I am a Postgres developer, and if you don't want to take my word for it,
> read the source code.  src/interfaces/libpq/fe-exec.c sez:

Hi -- sorry, I didn't realize you were, and it was entirely my mistake
about what the libpq functions did.

In the end, my problem was mixing code compiled with -fPIC and code
complied without it.  That seemed to generate a memory leak in code which
was actually disconnected from Postgres.  However, diagnosing it turned
out to be very difficult given that the code itself was fine, and after
some tests I incorrectly came to the conclusion about what PQgetvalue()
returned.  (I still don't know why I didn't get core dumps, but probably
what happened was that my test didn't try to free as much as I had thought
it did.)

Thanks,

-Rob


In response to

  • Re: at 2000-06-30 18:20:28 from Tom Lane

Responses

  • Re: at 2000-07-01 04:13:04 from Tom Lane

pgsql-interfaces by date

Next:From: Tom LaneDate: 2000-07-01 04:13:04
Subject: Re:
Previous:From: Tom LaneDate: 2000-06-30 18:20:28
Subject: Re:

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group