missing const in PQescapeBytea/PQunescapeBytea in 7.3b3

Started by Tommi Maekitaloover 23 years ago2 messageshackers
Jump to latest
#1Tommi Maekitalo
tommi@maekitalo.de

Hi,

I just discovered, that there is missing a const when passing a buffer to
PQescapeBytea and PQunescapeBytea. I fixed it and tried to create a usable
diff (I'm not so familar to diff).

Tommi

Attachments:

fe-exec.c.difftext/x-diff; charset=us-ascii; name=fe-exec.c.diffDownload+7-7
libpq-fe.h.difftext/x-diff; charset=us-ascii; name=libpq-fe.h.diffDownload+4-4
#2Bruce Momjian
bruce@momjian.us
In reply to: Tommi Maekitalo (#1)
Re: missing const in PQescapeBytea/PQunescapeBytea in 7.3b3

This has been saved for the 7.4 release:

http:/momjian.postgresql.org/cgi-bin/pgpatches2

---------------------------------------------------------------------------

Tommi Maekitalo wrote:

Hi,

I just discovered, that there is missing a const when passing a buffer to
PQescapeBytea and PQunescapeBytea. I fixed it and tried to create a usable
diff (I'm not so familar to diff).

Tommi

[ Attachment, skipping... ]

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

-- 
  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, Pennsylvania 19073