[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#170932: ITP: libpqxx -- C++ library for connecting to a PostgreSQL database



Package: wnpp
Version: unavailable; reported 2002-11-27
Severity: wishlist

* Package name    : libpqxx
  Version         : 0.0.1
  Upstream Author : Jeroen T. Vermeulen <jtv@xs4all.nl>
* URL             : http://gborg.postgresql.org/
* License         : BSD
  Description     : C++ library for connecting to a PostgreSQL database

"There are many similar libraries for PostgreSQL and for other databases, some
of them database-independent.  Most of these, however, are fairly C-like in
their programming style, and fail to take advantage of the full power of the C++language as it has matured since the acceptance of the Standard in 1996.  What 
libpqxx brings you is effective use of templates to reduce the inconvenience of
dealing with type conversions; of standard C++ strings to keep you from having 
to worry about buffer allocation and overflow attacks; of exceptions to take
the tedious and error-prone plumbing around error handling out of your hands;
of constructors and destructors to bring resource management under control; and
even basic object-orientation to give you some extra reliability features that
would be hard to get with most other database interfaces.

This package requires PostgreSQL to be installed--including the C headers for 
client development.  The library builds on top of PostgreSQL's standard C API, 
libpq."

The existing C++ interface for PostgreSQL is poorly supported and will be
superseded by this package.  I will retain the existing library for the
benefit of anyone who is already using it, but new C++ development with
PostgreSQL should use this library.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux linda 2.4.18smp #1 SMP Thu Aug 22 12:31:00 BST 2002 i686
Locale: LANG=C, LC_CTYPE=C




Reply to: