>> Pls just delete this function, the low-level API
>> is deprecated (I assume since long years), so it's
>> not worth to spend much time on it, and maybe it
>> cannot even be fixed since the API may just be
>> wrongly designed.
>
> OK, thank you for the info.
> I'll do that in next commit.
Thank you. Here's the header snippet with some
possible replacement functions, maybe it's useful:
---
/* Quoting strings before inclusion in queries. */
extern size_t PQescapeStringConn(PGconn *conn,
char *to, const char *from, size_t length,
int *error);
extern unsigned char *PQescapeByteaConn(PGconn *conn,
const unsigned char *from, size_t from_length,
size_t *to_length);
extern unsigned char *PQunescapeBytea(const unsigned char *strtext,
size_t *retbuflen);
/* These forms are deprecated! */
extern size_t PQescapeString(char *to, const char *from, size_t length);
extern unsigned char *PQescapeBytea(const unsigned char *from, size_t
from_length,
size_t *to_length);
---
Brgds,
Viktor
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour