![]() |
Kea 2.0.2
|
Define a PostgreSQL statement. More...
#include <pgsql_connection.h>
Public Attributes | |
| const char * | name |
| Short name of the query. More... | |
| int | nbparams |
| Number of parameters for a given query. More... | |
| const char * | text |
| Text representation of the actual query. More... | |
| const Oid | types [PGSQL_MAX_PARAMETERS_IN_QUERY] |
| OID types. More... | |
Define a PostgreSQL statement.
Each statement is associated with an index, which is used to reference the associated prepared statement.
Definition at line 35 of file pgsql_connection.h.
| const char* isc::db::PgSqlTaggedStatement::name |
Short name of the query.
Definition at line 47 of file pgsql_connection.h.
Referenced by isc::db::PgSqlConnection::checkStatementError(), isc::db::PgSqlConnection::prepareStatement(), and isc::dhcp::PgSqlLeaseStatsQuery::start().
| int isc::db::PgSqlTaggedStatement::nbparams |
Number of parameters for a given query.
Definition at line 37 of file pgsql_connection.h.
Referenced by isc::db::PgSqlConnection::prepareStatement().
| const char* isc::db::PgSqlTaggedStatement::text |
Text representation of the actual query.
Definition at line 50 of file pgsql_connection.h.
Referenced by isc::db::PgSqlConnection::prepareStatement().
| const Oid isc::db::PgSqlTaggedStatement::types[PGSQL_MAX_PARAMETERS_IN_QUERY] |
OID types.
Specify parameter types. See /usr/include/postgresql/catalog/pg_type.h. For some reason that header does not export those parameters. Those OIDs must match both input and output parameters.
Definition at line 44 of file pgsql_connection.h.
Referenced by isc::db::PgSqlConnection::prepareStatement().