Re: PQescapeLiteral(), PQescapeIdentifier() documented with invalid signatures.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQescapeLiteral(), PQescapeIdentifier() documented with invalid signatures.
Дата
Msg-id 20527.1280938587@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PQescapeLiteral(), PQescapeIdentifier() documented with invalid signatures.  (Dmitriy Igrishin <dmitigr@gmail.com>)
Список pgsql-docs
Dmitriy Igrishin <dmitigr@gmail.com> writes:
> 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

Wow ... I can understand missing the "const" declarations, but getting
the return type wrong is pretty bad :-(.  Amazing nobody caught this
before.  Thanks, will fix!

            regards, tom lane

В списке pgsql-docs по дате отправления:

Предыдущее
От: Dmitriy Igrishin
Дата:
Сообщение: PQescapeLiteral(), PQescapeIdentifier() documented with invalid signatures.
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: Please provide stable target anchors