Kea  1.9.9-git
isc::db::PgSqlTaggedStatement Struct Reference

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...
 

Detailed Description

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.

Member Data Documentation

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(), and isc::db::PgSqlConnection::prepareStatement().

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().


The documentation for this struct was generated from the following file: