Re: PQescapeBytea on Win32 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PQescapeBytea on Win32
Date
Msg-id 1940.1048357279@sss.pgh.pa.us
Whole thread Raw
In response to Re: PQescapeBytea on Win32  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: PQescapeBytea on Win32  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> Doesn't this duplicate a function that we already invented for PQnotify
>> structs?

> What do you recommend?  Do we depricate PQfreeNotify?

I dunno.  In hindsight it was shortsightedly named.  But I don't suppose
we want to tell people to use "PQfreeNotify" to free the result of
PQescapeBytea ... so deprecation seems to be the order of the day.

Do we really want "PQfreemem" either?  Maybe it should be "PQfree"?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PQescapeBytea on Win32
Next
From: Bruce Momjian
Date:
Subject: Re: PQescapeBytea on Win32