Module pg_async::pq
[−]
[src]
FFI bindings to libpq
.
Enums
PGconn | |
PGresult |
Constants
CONNECTION_AUTH_OK | |
CONNECTION_AWAITING_RESPONSE | |
CONNECTION_BAD | |
CONNECTION_MADE | |
CONNECTION_NEEDED | |
CONNECTION_OK | |
CONNECTION_SETENV | |
CONNECTION_SSL_STARTUP | |
CONNECTION_STARTED | |
PGRES_BAD_RESPONSE | |
PGRES_COMMAND_OK | |
PGRES_COPY_BOTH | |
PGRES_COPY_IN | |
PGRES_COPY_OUT | |
PGRES_EMPTY_QUERY | |
PGRES_FATAL_ERROR | |
PGRES_NONFATAL_ERROR | |
PGRES_POLLING_ACTIVE | |
PGRES_POLLING_FAILED | |
PGRES_POLLING_OK | |
PGRES_POLLING_READING | |
PGRES_POLLING_WRITING | |
PGRES_SINGLE_TUPLE | |
PGRES_TUPLES_OK | |
PG_DIAG_SQLSTATE |
According to https://www.postgresql.org/message-id/20041202060648.GA60984%40winnie.fuhr.org returns a error code from https://www.postgresql.org/docs/9.4/static/errcodes-appendix.html. |
Functions
PQclear⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQCLEAR |
PQcmdStatus⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQCMDSTATUS |
PQcmdTuples⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQCMDTUPLES |
PQconnectPoll⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-PQCONNECTSTARTPARAMS |
PQconnectStart⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-PQCONNECTSTARTPARAMS |
PQconnectdb⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-PQCONNECTDB |
PQconsumeInput⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-async.html#LIBPQ-PQCONSUMEINPUT |
PQerrorMessage⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-status.html#LIBPQ-PQERRORMESSAGE |
PQescapeByteaConn⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQESCAPEBYTEACONN |
PQescapeLiteral⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-EXEC-ESCAPE-STRING |
PQfinish⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-PQFINISH |
PQflush⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-async.html#LIBPQ-PQFLUSH |
PQfname⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQFNAME |
PQfreemem⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-misc.html#LIBPQ-PQFREEMEM |
PQftype⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQFTYPE |
PQgetResult⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-async.html#LIBPQ-PQGETRESULT |
PQgetisnull⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQGETISNULL |
PQgetlength⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQGETLENGTH |
PQgetvalue⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQGETVALUE |
PQisBusy⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-async.html#LIBPQ-PQISBUSY |
PQisthreadsafe⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-threading.html |
PQnfields⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQNFIELDS |
PQntuples⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQNTUPLES |
PQoidValue⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQOIDVALUE |
PQresStatus⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQRESSTATUS |
PQreset⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-PQRESET |
PQresetStart⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-PQRESETSTART |
PQresultErrorField⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQRESULTERRORFIELD |
PQresultErrorMessage⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQRESULTERRORMESSAGE |
PQresultStatus⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQRESULTSTATUS |
PQsendQuery⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-async.html#LIBPQ-PQSENDQUERY |
PQsetnonblocking⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-async.html#LIBPQ-PQSETNONBLOCKING |
PQsocket⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-status.html#LIBPQ-PQSOCKET |
PQstatus⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-status.html#LIBPQ-PQSTATUS |
PQunescapeBytea⚠ |
https://www.postgresql.org/docs/9.4/static/libpq-exec.html#LIBPQ-PQUNESCAPEBYTEA |
Type Definitions
ConnStatusType | |
ExecStatusType | |
Oid | |
PostgresPollingStatusType |