Re: PQescapeBytea on Win32

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>, Key88 SF <key88sf(at)hotmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: PQescapeBytea on Win32
Date: 2003-03-22 18:21:19
Message-ID: 1940.1048357279@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-03-22 18:49:39 Re: PQescapeBytea on Win32
Previous Message Bruce Momjian 2003-03-22 18:16:42 Re: PQescapeBytea on Win32