Binary compatibility report for the PostgreSQL ODB library between 2.2.0 and 2.3.0 versions on x86
Test Info
Library Name | PostgreSQL ODB |
Version #1 | 2.2.0 |
Version #2 | 2.3.0 |
CPU Type | x86 |
GCC Version | 4.6.1 |
Test Results
Total Header Files | 37 |
Total Shared Libraries | 1 |
Total Symbols / Types | 278 / 263 |
Verdict | Incompatible (22.3%) |
Problem Summary
| Severity | Count |
---|
Added Symbols | - | 23 |
Removed Symbols | High | 22 |
Problems with Data Types | High | 4 |
Medium | 2 |
Low | 6 |
Problems with Symbols | High | 22 |
Medium | 0 |
Low | 0 |
Problems with Constants | Low | 0 |
Other Changes in Data Types | - | 1 |
Added Symbols (23)
database.hxx,
libodb-pgsql-2.3.so
namespace odb::pgsql
database::load_schema_version ( std::string const& schema_name ) const
[symbol: _ZNK3odb5pgsql8database19load_schema_versionERKSs]
statement.hxx,
libodb-pgsql-2.3.so
namespace odb::pgsql
insert_statement::insert_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning, bool copy_name_text )
[symbol: _ZN3odb5pgsql16insert_statementC1ERNS0_10connectionEPKcS5_bPKjjRNS0_7bindingERNS0_14native_bindingEbb]
insert_statement::insert_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning )
[symbol: _ZN3odb5pgsql16insert_statementC1ERNS0_10connectionERKSsS5_bPKjjRNS0_7bindingERNS0_14native_bindingEb]
insert_statement::insert_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning, bool copy_name_text )
[symbol: _ZN3odb5pgsql16insert_statementC2ERNS0_10connectionEPKcS5_bPKjjRNS0_7bindingERNS0_14native_bindingEbb]
insert_statement::insert_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning )
[symbol: _ZN3odb5pgsql16insert_statementC2ERNS0_10connectionERKSsS5_bPKjjRNS0_7bindingERNS0_14native_bindingEb]
select_statement::select_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* stmt, bool process_text, bool optimize_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionEPKcS5_bbPKjjRNS0_7bindingERNS0_14native_bindingES9_b]
select_statement::select_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, bool optimize_text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionEPKcS5_bbRNS0_7bindingEb]
select_statement::select_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, bool process_text, bool optimize_text, binding& result )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionERKSsS5_bbRNS0_7bindingE]
select_statement::select_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, bool process_text, bool optimize_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, binding& result )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionERKSsS5_bbPKjjRNS0_7bindingERNS0_14native_bindingES9_]
select_statement::select_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, bool process_text, bool optimize_text, Oid const* types, std::size_t types_count, native_binding& native_param, binding& result )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionERKSsS5_bbPKjjRNS0_14native_bindingERNS0_7bindingE]
select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* stmt, bool process_text, bool optimize_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionEPKcS5_bbPKjjRNS0_7bindingERNS0_14native_bindingES9_b]
select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, bool optimize_text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionEPKcS5_bbRNS0_7bindingEb]
select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, bool process_text, bool optimize_text, binding& result )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionERKSsS5_bbRNS0_7bindingE]
select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, bool process_text, bool optimize_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, binding& result )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionERKSsS5_bbPKjjRNS0_7bindingERNS0_14native_bindingES9_]
select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, bool process_text, bool optimize_text, Oid const* types, std::size_t types_count, native_binding& native_param, binding& result )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionERKSsS5_bbPKjjRNS0_14native_bindingERNS0_7bindingE]
statement::statement [in-charge] ( statement::connection_type& p1, char const* name, char const* text, enum statement_kind p4, binding const* process, bool optimize, bool copy_name_text, Oid const* types, std::size_t types_count )
[symbol: _ZN3odb5pgsql9statementC1ERNS0_10connectionEPKcS5_NS0_14statement_kindEPKNS0_7bindingEbbPKjj]
statement::statement [in-charge] ( statement::connection_type& p1, std::string const& name, std::string const& text, enum statement_kind p4, binding const* process, bool optimize, Oid const* types, std::size_t types_count )
[symbol: _ZN3odb5pgsql9statementC1ERNS0_10connectionERKSsS5_NS0_14statement_kindEPKNS0_7bindingEbPKjj]
statement::statement [not-in-charge] ( statement::connection_type& p1, char const* name, char const* text, enum statement_kind p4, binding const* process, bool optimize, bool copy_name_text, Oid const* types, std::size_t types_count )
[symbol: _ZN3odb5pgsql9statementC2ERNS0_10connectionEPKcS5_NS0_14statement_kindEPKNS0_7bindingEbbPKjj]
statement::statement [not-in-charge] ( statement::connection_type& p1, std::string const& name, std::string const& text, enum statement_kind p4, binding const* process, bool optimize, Oid const* types, std::size_t types_count )
[symbol: _ZN3odb5pgsql9statementC2ERNS0_10connectionERKSsS5_NS0_14statement_kindEPKNS0_7bindingEbPKjj]
update_statement::update_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool copy_name_text )
[symbol: _ZN3odb5pgsql16update_statementC1ERNS0_10connectionEPKcS5_bPKjjRNS0_7bindingERNS0_14native_bindingEb]
update_statement::update_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param )
[symbol: _ZN3odb5pgsql16update_statementC1ERNS0_10connectionERKSsS5_bPKjjRNS0_7bindingERNS0_14native_bindingE]
update_statement::update_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool copy_name_text )
[symbol: _ZN3odb5pgsql16update_statementC2ERNS0_10connectionEPKcS5_bPKjjRNS0_7bindingERNS0_14native_bindingEb]
update_statement::update_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param )
[symbol: _ZN3odb5pgsql16update_statementC2ERNS0_10connectionERKSsS5_bPKjjRNS0_7bindingERNS0_14native_bindingE]
to the top
Removed Symbols (22)
statement.hxx,
libodb-pgsql-2.2.so
namespace odb::pgsql
insert_statement::insert_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning, bool copy_name_text )
[symbol: _ZN3odb5pgsql16insert_statementC1ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingEbb]
insert_statement::insert_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning )
[symbol: _ZN3odb5pgsql16insert_statementC1ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingEb]
insert_statement::insert_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning, bool copy_name_text )
[symbol: _ZN3odb5pgsql16insert_statementC2ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingEbb]
insert_statement::insert_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning )
[symbol: _ZN3odb5pgsql16insert_statementC2ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingEb]
select_statement::select_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* stmt, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingES9_b]
select_statement::select_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionEPKcS5_RNS0_7bindingEb]
select_statement::select_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, binding& result )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionERKSsS5_RNS0_7bindingE]
select_statement::select_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, binding& result )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingES9_]
select_statement::select_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, native_binding& native_param, binding& result )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionERKSsS5_PKjjRNS0_14native_bindingERNS0_7bindingE]
select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* stmt, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingES9_b]
select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionEPKcS5_RNS0_7bindingEb]
select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, binding& result )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionERKSsS5_RNS0_7bindingE]
select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, binding& result )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingES9_]
select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, native_binding& native_param, binding& result )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionERKSsS5_PKjjRNS0_14native_bindingERNS0_7bindingE]
statement::statement [in-charge] ( statement::connection_type& p1, char const* name, char const* text, bool copy_name_text, Oid const* types, std::size_t types_count )
[symbol: _ZN3odb5pgsql9statementC1ERNS0_10connectionEPKcS5_bPKjj]
statement::statement [in-charge] ( statement::connection_type& p1, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count )
[symbol: _ZN3odb5pgsql9statementC1ERNS0_10connectionERKSsS5_PKjj]
statement::statement [not-in-charge] ( statement::connection_type& p1, char const* name, char const* text, bool copy_name_text, Oid const* types, std::size_t types_count )
[symbol: _ZN3odb5pgsql9statementC2ERNS0_10connectionEPKcS5_bPKjj]
statement::statement [not-in-charge] ( statement::connection_type& p1, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count )
[symbol: _ZN3odb5pgsql9statementC2ERNS0_10connectionERKSsS5_PKjj]
update_statement::update_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool copy_name_text )
[symbol: _ZN3odb5pgsql16update_statementC1ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingEb]
update_statement::update_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param )
[symbol: _ZN3odb5pgsql16update_statementC1ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingE]
update_statement::update_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool copy_name_text )
[symbol: _ZN3odb5pgsql16update_statementC2ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingEb]
update_statement::update_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param )
[symbol: _ZN3odb5pgsql16update_statementC2ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingE]
to the top
Problems with Data Types, High Severity (4)
database.hxx
namespace odb
[+] class database (1)
| Change |
Effect |
1 | Pure virtual method database::load_schema_version ( std::string const& ) const has been added to this class. | 1) Applications will not provide the implementation for this pure virtual method and therefore cause a crash in the library trying to call this method. 2) The layout of v-table has been changed. Call of any virtual method at higher position in this class or its subclasses may result in crash or incorrect behavior of applications. |
[+] show v-table (old and new)
Offset | Virtual Table (Old) - 6 entries | Virtual Table (New) - 7 entries |
---|
0 |
(int (*)(...))0 |
(int (*)(...))0 |
4 |
(int (*)(...))(& typeinfo) |
(int (*)(...))(& typeinfo) |
8 |
~database |
~database |
12 |
~database |
~database |
16 |
__cxa_pure_virtual |
__cxa_pure_virtual |
20 |
__cxa_pure_virtual |
__cxa_pure_virtual |
24 |
|
__cxa_pure_virtual |
[+] affected symbols (2)
database::begin ( )This method is from 'database' class.
database::connection_ ( )This method is from 'database' class.
database.hxx
namespace odb::pgsql
[+] class database (1)
| Change |
Effect |
1 | Size of this class has been increased from 72 bytes to 128 bytes. | 1) An object of this class can be allocated by the applications and old size will be hardcoded at the compile time. Call of any exported constructor will break the memory of neighboring objects on the stack or heap. 2) The memory layout and size of subclasses will be changed. |
[+] affected symbols (19)
connection::connection [in-charge] ( connection::database_type& p1 )1st parameter 'p1' (reference) has base type 'database'.
connection::connection [in-charge] ( connection::database_type& p1, PGconn* handle )1st parameter 'p1' (reference) has base type 'database'.
connection_pool_factory::connect ( )Field 'this->db_' in the object of this method has base type 'database'.
connection_pool_factory::create ( )Field 'this->db_' in the object of this method has base type 'database'.
connection_pool_factory::database ( connection_factory::database_type& p1 )1st parameter 'p1' (reference) has base type 'database'.
connection_pool_factory::pooled_connection::pooled_connection [in-charge] ( connection::database_type& p1 )1st parameter 'p1' (reference) has base type 'database'.
connection_pool_factory::pooled_connection::pooled_connection [in-charge] ( connection::database_type& p1, PGconn* p2 )1st parameter 'p1' (reference) has base type 'database'.
connection_pool_factory::release ( connection_pool_factory::pooled_connection* p1 )Field 'this->db_' in the object of this method has base type 'database'.
connection_pool_factory::~connection_pool_factory [in-charge] ( )Field 'this->db_' in the object of this method has base type 'database'.
database::begin ( )This method is from 'database' class.
database::connection_ ( )This method is from 'database' class.
database::database [in-charge] ( int& argc, char** argv, bool erase, std::string const& extra_conninfo, odb::details::transfer_ptr<connection_factory> p5 )This constructor is from 'database' class.
database::database [in-charge] ( std::string const& conninfo, odb::details::transfer_ptr<connection_factory> p2 )This constructor is from 'database' class.
database::database [in-charge] ( std::string const& user, std::string const& password, std::string const& db, std::string const& host, std::string const& socket_ext, std::string const& extra_conninfo, odb::details::transfer_ptr<connection_factory> p7 )This constructor is from 'database' class.
database::database [in-charge] ( std::string const& user, std::string const& password, std::string const& db, std::string const& host, unsigned int port, std::string const& extra_conninfo, odb::details::transfer_ptr<connection_factory> p7 )This constructor is from 'database' class.
database::database_id [data]This method is from 'database' class.
database::~database [in-charge] ( )This method is from 'database' class.
new_connection_factory::database ( connection_factory::database_type& p1 )1st parameter 'p1' (reference) has base type 'database'.
transaction_impl::transaction_impl [in-charge] ( transaction_impl::database_type& p1 )1st parameter 'p1' (reference) has base type 'database'.
simple-object-statements.hxx
namespace odb::pgsql
[+] class object_statements_base (1)
| Change |
Effect |
1 | Size of this class has been changed from 20 bytes to 24 bytes. | 1) The class has only inline or auto-generated constructors which will be copied to applications at compile time and will allocate an older memory layout. Call of any exported method of this class may access a memory outside the allocated objects or inside the older memory structure and result in crash or incorrect behavior of applications. 2) The memory layout and size of subclasses will be changed. |
[+] affected symbols (1)
object_statements_base::~object_statements_base [in-charge] ( )This method is from 'object_statements_base' class.
statements-base.hxx
namespace odb::pgsql
[+] class statements_base (1)
| Change |
Effect |
1 | Size of this class has been changed from 16 bytes to 20 bytes. | 1) The class has only inline or auto-generated constructors which will be copied to applications at compile time and will allocate an older memory layout. Call of any exported method of this class may access a memory outside the allocated objects or inside the older memory structure and result in crash or incorrect behavior of applications. 2) The memory layout and size of subclasses will be changed. |
[+] affected symbols (2)
object_statements_base::~object_statements_base [in-charge] ( )This method is from derived class 'object_statements_base'.
statements_base::~statements_base [in-charge] ( )This method is from 'statements_base' class.
to the top
Problems with Symbols, High Severity (22)
statement.hxx,
libodb-pgsql-2.2.so
namespace odb::pgsql
[+] insert_statement::insert_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning, bool copy_name_text ) (1)
changed to:insert_statement::insert_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning, bool copy_name_text )
[symbol: _ZN3odb5pgsql16insert_statementC2ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingEbb]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16insert_statementC2ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingEbb to _ZN3odb5pgsql16insert_statementC2ERNS0_10connectionEPKcS5_bPKjjRNS0_7bindingERNS0_14native_bindingEbb. This may cause "undefined reference" linker error in old client applications. |
[+] insert_statement::insert_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning, bool copy_name_text ) (1)
changed to:insert_statement::insert_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning, bool copy_name_text )
[symbol: _ZN3odb5pgsql16insert_statementC1ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingEbb]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16insert_statementC1ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingEbb to _ZN3odb5pgsql16insert_statementC1ERNS0_10connectionEPKcS5_bPKjjRNS0_7bindingERNS0_14native_bindingEbb. This may cause "undefined reference" linker error in old client applications. |
[+] insert_statement::insert_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning ) (1)
changed to:insert_statement::insert_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning, bool copy_name_text )
[symbol: _ZN3odb5pgsql16insert_statementC2ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingEb]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16insert_statementC2ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingEb to _ZN3odb5pgsql16insert_statementC2ERNS0_10connectionEPKcS5_bPKjjRNS0_7bindingERNS0_14native_bindingEbb. This may cause "undefined reference" linker error in old client applications. |
[+] insert_statement::insert_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning ) (1)
changed to:insert_statement::insert_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool returning, bool copy_name_text )
[symbol: _ZN3odb5pgsql16insert_statementC1ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingEb]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16insert_statementC1ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingEb to _ZN3odb5pgsql16insert_statementC1ERNS0_10connectionEPKcS5_bPKjjRNS0_7bindingERNS0_14native_bindingEbb. This may cause "undefined reference" linker error in old client applications. |
[+] select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, binding& result, bool copy_name_text ) (1)
changed to:select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, bool optimize_text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionEPKcS5_RNS0_7bindingEb]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16select_statementC2ERNS0_10connectionEPKcS5_RNS0_7bindingEb to _ZN3odb5pgsql16select_statementC2ERNS0_10connectionEPKcS5_bbRNS0_7bindingEb. This may cause "undefined reference" linker error in old client applications. |
[+] select_statement::select_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, binding& result, bool copy_name_text ) (1)
changed to:select_statement::select_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, bool optimize_text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionEPKcS5_RNS0_7bindingEb]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16select_statementC1ERNS0_10connectionEPKcS5_RNS0_7bindingEb to _ZN3odb5pgsql16select_statementC1ERNS0_10connectionEPKcS5_bbRNS0_7bindingEb. This may cause "undefined reference" linker error in old client applications. |
[+] select_statement::select_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* stmt, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, binding& result, bool copy_name_text ) (1)
changed to:select_statement::select_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, bool optimize_text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingES9_b]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16select_statementC1ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingES9_b to _ZN3odb5pgsql16select_statementC1ERNS0_10connectionEPKcS5_bbRNS0_7bindingEb. This may cause "undefined reference" linker error in old client applications. |
[+] select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* stmt, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, binding& result, bool copy_name_text ) (1)
changed to:select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, bool optimize_text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingES9_b]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16select_statementC2ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingES9_b to _ZN3odb5pgsql16select_statementC2ERNS0_10connectionEPKcS5_bbRNS0_7bindingEb. This may cause "undefined reference" linker error in old client applications. |
[+] select_statement::select_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, binding& result ) (1)
changed to:select_statement::select_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, bool optimize_text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionERKSsS5_RNS0_7bindingE]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16select_statementC1ERNS0_10connectionERKSsS5_RNS0_7bindingE to _ZN3odb5pgsql16select_statementC1ERNS0_10connectionEPKcS5_bbRNS0_7bindingEb. This may cause "undefined reference" linker error in old client applications. |
[+] select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, binding& result ) (1)
changed to:select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, bool optimize_text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionERKSsS5_RNS0_7bindingE]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16select_statementC2ERNS0_10connectionERKSsS5_RNS0_7bindingE to _ZN3odb5pgsql16select_statementC2ERNS0_10connectionEPKcS5_bbRNS0_7bindingEb. This may cause "undefined reference" linker error in old client applications. |
[+] select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, binding& result ) (1)
changed to:select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, bool optimize_text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingES9_]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16select_statementC2ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingES9_ to _ZN3odb5pgsql16select_statementC2ERNS0_10connectionEPKcS5_bbRNS0_7bindingEb. This may cause "undefined reference" linker error in old client applications. |
[+] select_statement::select_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, binding& result ) (1)
changed to:select_statement::select_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, bool optimize_text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingES9_]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16select_statementC1ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingES9_ to _ZN3odb5pgsql16select_statementC1ERNS0_10connectionEPKcS5_bbRNS0_7bindingEb. This may cause "undefined reference" linker error in old client applications. |
[+] select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, native_binding& native_param, binding& result ) (1)
changed to:select_statement::select_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, bool optimize_text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC2ERNS0_10connectionERKSsS5_PKjjRNS0_14native_bindingERNS0_7bindingE]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16select_statementC2ERNS0_10connectionERKSsS5_PKjjRNS0_14native_bindingERNS0_7bindingE to _ZN3odb5pgsql16select_statementC2ERNS0_10connectionEPKcS5_bbRNS0_7bindingEb. This may cause "undefined reference" linker error in old client applications. |
[+] select_statement::select_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, native_binding& native_param, binding& result ) (1)
changed to:select_statement::select_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, bool optimize_text, binding& result, bool copy_name_text )
[symbol: _ZN3odb5pgsql16select_statementC1ERNS0_10connectionERKSsS5_PKjjRNS0_14native_bindingERNS0_7bindingE]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16select_statementC1ERNS0_10connectionERKSsS5_PKjjRNS0_14native_bindingERNS0_7bindingE to _ZN3odb5pgsql16select_statementC1ERNS0_10connectionEPKcS5_bbRNS0_7bindingEb. This may cause "undefined reference" linker error in old client applications. |
[+] statement::statement [not-in-charge] ( statement::connection_type& p1, char const* name, char const* text, bool copy_name_text, Oid const* types, std::size_t types_count ) (1)
changed to:statement::statement [not-in-charge] ( statement::connection_type& p1, char const* name, char const* text, enum statement_kind p4, binding const* process, bool optimize, bool copy_name_text, Oid const* types, std::size_t types_count )
[symbol: _ZN3odb5pgsql9statementC2ERNS0_10connectionEPKcS5_bPKjj]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql9statementC2ERNS0_10connectionEPKcS5_bPKjj to _ZN3odb5pgsql9statementC2ERNS0_10connectionEPKcS5_NS0_14statement_kindEPKNS0_7bindingEbbPKjj. This may cause "undefined reference" linker error in old client applications. |
[+] statement::statement [in-charge] ( statement::connection_type& p1, char const* name, char const* text, bool copy_name_text, Oid const* types, std::size_t types_count ) (1)
changed to:statement::statement [in-charge] ( statement::connection_type& p1, char const* name, char const* text, enum statement_kind p4, binding const* process, bool optimize, bool copy_name_text, Oid const* types, std::size_t types_count )
[symbol: _ZN3odb5pgsql9statementC1ERNS0_10connectionEPKcS5_bPKjj]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql9statementC1ERNS0_10connectionEPKcS5_bPKjj to _ZN3odb5pgsql9statementC1ERNS0_10connectionEPKcS5_NS0_14statement_kindEPKNS0_7bindingEbbPKjj. This may cause "undefined reference" linker error in old client applications. |
[+] statement::statement [in-charge] ( statement::connection_type& p1, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count ) (1)
changed to:statement::statement [in-charge] ( statement::connection_type& p1, char const* name, char const* text, enum statement_kind p4, binding const* process, bool optimize, bool copy_name_text, Oid const* types, std::size_t types_count )
[symbol: _ZN3odb5pgsql9statementC1ERNS0_10connectionERKSsS5_PKjj]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql9statementC1ERNS0_10connectionERKSsS5_PKjj to _ZN3odb5pgsql9statementC1ERNS0_10connectionEPKcS5_NS0_14statement_kindEPKNS0_7bindingEbbPKjj. This may cause "undefined reference" linker error in old client applications. |
[+] statement::statement [not-in-charge] ( statement::connection_type& p1, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count ) (1)
changed to:statement::statement [not-in-charge] ( statement::connection_type& p1, char const* name, char const* text, enum statement_kind p4, binding const* process, bool optimize, bool copy_name_text, Oid const* types, std::size_t types_count )
[symbol: _ZN3odb5pgsql9statementC2ERNS0_10connectionERKSsS5_PKjj]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql9statementC2ERNS0_10connectionERKSsS5_PKjj to _ZN3odb5pgsql9statementC2ERNS0_10connectionEPKcS5_NS0_14statement_kindEPKNS0_7bindingEbbPKjj. This may cause "undefined reference" linker error in old client applications. |
[+] update_statement::update_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool copy_name_text ) (1)
changed to:update_statement::update_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool copy_name_text )
[symbol: _ZN3odb5pgsql16update_statementC2ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingEb]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16update_statementC2ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingEb to _ZN3odb5pgsql16update_statementC2ERNS0_10connectionEPKcS5_bPKjjRNS0_7bindingERNS0_14native_bindingEb. This may cause "undefined reference" linker error in old client applications. |
[+] update_statement::update_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool copy_name_text ) (1)
changed to:update_statement::update_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool copy_name_text )
[symbol: _ZN3odb5pgsql16update_statementC1ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingEb]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16update_statementC1ERNS0_10connectionEPKcS5_PKjjRNS0_7bindingERNS0_14native_bindingEb to _ZN3odb5pgsql16update_statementC1ERNS0_10connectionEPKcS5_bPKjjRNS0_7bindingERNS0_14native_bindingEb. This may cause "undefined reference" linker error in old client applications. |
[+] update_statement::update_statement [not-in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param ) (1)
changed to:update_statement::update_statement [not-in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool copy_name_text )
[symbol: _ZN3odb5pgsql16update_statementC2ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingE]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16update_statementC2ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingE to _ZN3odb5pgsql16update_statementC2ERNS0_10connectionEPKcS5_bPKjjRNS0_7bindingERNS0_14native_bindingEb. This may cause "undefined reference" linker error in old client applications. |
[+] update_statement::update_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param ) (1)
changed to:update_statement::update_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, bool process_text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool copy_name_text )
[symbol: _ZN3odb5pgsql16update_statementC1ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingE]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN3odb5pgsql16update_statementC1ERNS0_10connectionERKSsS5_PKjjRNS0_7bindingERNS0_14native_bindingE to _ZN3odb5pgsql16update_statementC1ERNS0_10connectionEPKcS5_bPKjjRNS0_7bindingERNS0_14native_bindingEb. This may cause "undefined reference" linker error in old client applications. |
to the top
Problems with Data Types, Medium Severity (2)
connection.hxx
namespace odb
[+] class connection (1)
| Change |
Effect |
1 | Size of field database_ has been changed from 36 bytes to 92 bytes. | Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken. |
[+] affected symbols (1)
pgsql::database::connection_ ( )Return value (pointer) has base type 'connection'.
result.hxx
namespace odb
[+] class result_impl (1)
| Change |
Effect |
1 | Size of field db_ has been changed from 36 bytes to 92 bytes. | Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken. |
[+] affected symbols (1)
pgsql::database::connection_ ( )Field 'retval->results_' in return value (pointer) has base type 'result_impl'.
to the top
Problems with Data Types, Low Severity (6)
database.hxx
namespace odb
[+] class database (5)
| Change |
Effect |
1 | Field mutex_ has been added to this type. | 1) This field will not be initialized by old clients. 2) Size of the inclusive type has been changed. NOTE: this field should be accessed only from the new library functions, otherwise it may result in crash or incorrect behavior of applications. |
2 | Field schema_version_map_ has been added to this type. | 1) This field will not be initialized by old clients. 2) Size of the inclusive type has been changed. NOTE: this field should be accessed only from the new library functions, otherwise it may result in crash or incorrect behavior of applications. |
3 | Field schema_version_seq_ has been added to this type. | 1) This field will not be initialized by old clients. 2) Size of the inclusive type has been changed. NOTE: this field should be accessed only from the new library functions, otherwise it may result in crash or incorrect behavior of applications. |
4 | Field schema_version_table_ has been added to this type. | 1) This field will not be initialized by old clients. 2) Size of the inclusive type has been changed. NOTE: this field should be accessed only from the new library functions, otherwise it may result in crash or incorrect behavior of applications. |
5 | Size of this type has been changed from 36 bytes to 92 bytes. | The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications. |
[+] affected symbols (1)
pgsql::database::connection_ ( )Field 'retval->database_' in return value (pointer) has base type 'database'.
statements-base.hxx
namespace odb::pgsql
[+] class statements_base (1)
| Change |
Effect |
1 | Field svm_ has been added to this type. | 1) This field will not be initialized by old clients. 2) Size of the inclusive type has been changed. NOTE: this field should be accessed only from the new library functions, otherwise it may result in crash or incorrect behavior of applications. |
[+] affected symbols (1)
statements_base::~statements_base [in-charge] ( )This method is from 'statements_base' class.
to the top
Other Changes in Data Types (1)
connection.hxx
namespace odb::pgsql
[+] class connection (1)
| Change |
Effect |
1 | Size of field db_ has been changed from 72 bytes to 128 bytes. | No effect. |
[+] affected symbols (16)
connection::begin ( )This method is from 'connection' class.
connection::connection [in-charge] ( connection::database_type& p1 )This constructor is from 'connection' class.
connection::connection [in-charge] ( connection::database_type& p1, PGconn* handle )This constructor is from 'connection' class.
connection::execute ( char const* statement, std::size_t length )This method is from 'connection' class.
connection::~connection [in-charge] ( )This method is from 'connection' class.
delete_statement::delete_statement [in-charge] ( statement::connection_type& conn, char const* name, char const* text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param, bool copy_name_text )1st parameter 'conn' (reference) has base type 'connection'.
delete_statement::delete_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, binding& param, native_binding& native_param )1st parameter 'conn' (reference) has base type 'connection'.
delete_statement::delete_statement [in-charge] ( statement::connection_type& conn, std::string const& name, std::string const& text, Oid const* types, std::size_t types_count, native_binding& native_param )1st parameter 'conn' (reference) has base type 'connection'.
statement::connection ( )Field 'this->conn_' in the object of this method has base type 'connection'.
statement::deallocate ( )Field 'this->conn_' in the object of this method has base type 'connection'.
statement::text ( ) constField 'this->conn_' in the object of this method has base type 'connection'.
statements_base::~statements_base [in-charge] ( )Field 'this->conn_' in the object of this method has base type 'connection'.
tracer::deallocate ( connection& p1, statement const& p2 )Field 'p2->conn_' in 2nd parameter 'p2' (reference) has base type 'connection'.
tracer::execute ( connection& p1, statement const& p2 )Field 'p2->conn_' in 2nd parameter 'p2' (reference) has base type 'connection'.
tracer::prepare ( connection& p1, statement const& p2 )Field 'p2->conn_' in 2nd parameter 'p2' (reference) has base type 'connection'.
translate_error ( connection& c, PGresult* r )1st parameter 'c' (reference) has base type 'connection'.
to the top
Header Files (37)
auto-handle.hxx
binding.hxx
config.h
config.hxx
connection-factory.hxx
connection.hxx
container-statements.hxx
conversion.hxx
database.hxx
endian-traits.hxx
error.hxx
exceptions.hxx
export.hxx
forward.hxx
no-id-object-result.hxx
no-id-object-statements.hxx
options.hxx
pgsql-fwd.hxx
pgsql-oid.hxx
pgsql-types.hxx
polymorphic-object-result.hxx
polymorphic-object-statements.hxx
prepared-query.hxx
query-dynamic.hxx
query.hxx
simple-object-result.hxx
simple-object-statements.hxx
statement-cache.hxx
statement.hxx
statements-base.hxx
tracer.hxx
traits.hxx
transaction-impl.hxx
transaction.hxx
version.hxx
view-result.hxx
view-statements.hxx
to the top
Shared Libraries (1)
libodb-pgsql-2.2.so
to the top