| 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 | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2000-07-01 04:13:04 | Re: | 
| Previous Message | Tom Lane | 2000-06-30 18:20:28 | Re: |