Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I have modified the patch to call it PQfreemem(), in case there are other
> > cases we need to free libpq memory.
>
> Doesn't this duplicate a function that we already invented for PQnotify
> structs?
Yep, I see it now:/* * PQfreeNotify - free's the memory associated with a PGnotify * * This function is needed on
Windowswhen using libpq.dll and * for example libpgtcl.dll: All memory allocated inside a dll * should be freed in the
contextof the same dll. * */voidPQfreeNotify(PGnotify *notify){ free(notify);}
What do you recommend? Do we depricate PQfreeNotify?
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073