1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

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 M?kitalo
This commit is contained in:
Bruce Momjian
2002-11-10 00:14:22 +00:00
parent 3eabc4490e
commit 4ca28eb7c7
3 changed files with 11 additions and 11 deletions

View File

@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: libpq-fe.h,v 1.86 2002/09/04 20:31:47 momjian Exp $
* $Id: libpq-fe.h,v 1.87 2002/11/10 00:14:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -249,9 +249,9 @@ extern PQnoticeProcessor PQsetNoticeProcessor(PGconn *conn,
/* Quoting strings before inclusion in queries. */
extern size_t PQescapeString(char *to, const char *from, size_t length);
extern unsigned char *PQescapeBytea(unsigned char *bintext, size_t binlen,
extern unsigned char *PQescapeBytea(const unsigned char *bintext, size_t binlen,
size_t *bytealen);
extern unsigned char *PQunescapeBytea(unsigned char *strtext,
extern unsigned char *PQunescapeBytea(const unsigned char *strtext,
size_t *retbuflen);