PQescapeLiteral(), PQescapeIdentifier() documented with invalid signatures. - Mailing list pgsql-docs

From Dmitriy Igrishin
Subject PQescapeLiteral(), PQescapeIdentifier() documented with invalid signatures.
Date
Msg-id AANLkTikixhNnzJsrXGEdLd_Y_ysU17dhPHAXo_FGNc3p@mail.gmail.com
Whole thread Raw
Responses Re: PQescapeLiteral(), PQescapeIdentifier() documented with invalid signatures.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
Hey all,

Actual signatures of libpq's functions PQescapeLiteral(), PQescapeIdentifier()
is
char *PQescapeLiteral(PGconn *conn, const char *str, size_t len)
char *PQescapeIdentifier(PGconn *conn, const char *str, size_t len)

that differs from signatures provided in the documentation here

http://www.postgresql.org/docs/9.0/static/libpq-exec.html#LIBPQ-EXEC-ESCAPE-STRING

Regards,
Dmitriy

pgsql-docs by date:

Previous
From: Josh Berkus
Date:
Subject: Patch for "big features" section of release notes
Next
From: Tom Lane
Date:
Subject: Re: PQescapeLiteral(), PQescapeIdentifier() documented with invalid signatures.