Kea 2.5.8
isc::db::PgSqlTaggedStatement Struct Reference

Define a PostgreSQL statement. More...

#include <pgsql_connection.h>

Public Attributes

const char * name
 Short name of the query.
 
int nbparams
 Number of parameters for a given query.
 
const char * text
 Text representation of the actual query.
 
const Oid types [PGSQL_MAX_PARAMETERS_IN_QUERY]
 OID types.
 

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 34 of file pgsql_connection.h.

Member Data Documentation

◆ name

◆ nbparams

int isc::db::PgSqlTaggedStatement::nbparams

Number of parameters for a given query.

Definition at line 36 of file pgsql_connection.h.

Referenced by isc::db::PgSqlConnection::executePreparedStatement(), and isc::db::PgSqlConnection::prepareStatement().

◆ text

const char* isc::db::PgSqlTaggedStatement::text

◆ types

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 43 of file pgsql_connection.h.

Referenced by isc::db::PgSqlConnection::prepareStatement().


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