pg_async
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
tip::db::pg::io::traits Namespace Reference

Classes

struct  cpppg_data_mapping< std::string >
 
struct  pgcpp_data_mapping< oids::type::boolean >
 
struct  cpppg_data_mapping< bool >
 
struct  pgcpp_data_mapping< oids::type::bytea >
 
struct  cpppg_data_mapping< bytea >
 
struct  pgcpp_data_mapping< oids::type::int2 >
 
struct  cpppg_data_mapping< smallint >
 
struct  pgcpp_data_mapping< oids::type::int4 >
 
struct  cpppg_data_mapping< integer >
 
struct  pgcpp_data_mapping< oids::type::int8 >
 
struct  cpppg_data_mapping< bigint >
 
struct  pgcpp_data_mapping< oids::type::oid >
 
struct  pgcpp_data_mapping< oids::type::tid >
 
struct  pgcpp_data_mapping< oids::type::xid >
 
struct  pgcpp_data_mapping< oids::type::cid >
 
struct  pgcpp_data_mapping< oids::type::float4 >
 
struct  cpppg_data_mapping< float >
 
struct  pgcpp_data_mapping< oids::type::float8 >
 
struct  cpppg_data_mapping< double >
 
struct  pgcpp_data_mapping
 
struct  cpppg_data_mapping
 Template for specifying mapping between a C++ type and PostgreSQL type oid. More...
 
struct  has_input_operator
 
struct  has_output_operator
 
struct  has_parser
 
struct  has_parser< T, TEXT_DATA_FORMAT >
 
struct  has_parser< smallint, BINARY_DATA_FORMAT >
 
struct  has_parser< integer, BINARY_DATA_FORMAT >
 
struct  has_parser< bigint, BINARY_DATA_FORMAT >
 
struct  has_formatter
 
struct  has_formatter< T, TEXT_DATA_FORMAT >
 
struct  has_formatter< smallint, BINARY_DATA_FORMAT >
 
struct  has_formatter< integer, BINARY_DATA_FORMAT >
 
struct  has_formatter< bigint, BINARY_DATA_FORMAT >
 
struct  ___no_inout_test
 
struct  best_parser
 Template parser selector. More...
 
struct  best_formatter
 Template formatter selector. More...
 
struct  has_parser< bool, BINARY_DATA_FORMAT >
 

Functions

void register_binary_parser (oids::type::oid_type id)
 Mark a type oid that it has a binary parser, so that pg_async can request data in binary format. More...
 
bool has_binary_parser (oids::type::oid_type id)
 Check if there is a binary parser for the specified oid. More...
 

Function Documentation

bool tip::db::pg::io::traits::has_binary_parser ( oids::type::oid_type  id)

Check if there is a binary parser for the specified oid.

Parameters
idPostgreSQL type oid.
Returns
void tip::db::pg::io::traits::register_binary_parser ( oids::type::oid_type  id)

Mark a type oid that it has a binary parser, so that pg_async can request data in binary format.

Parameters
idPostgreSQL type oid.