./databases/libpqxx, C++ interface to postgresql-lib

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 7.1.2, Package name: libpqxx-7.1.2, Maintainer: is

C++ client API for PostgreSQL. The standard front-end (in the sense
of "language binding") for writing C++ programs that use PostgreSQL.
Supersedes older libpq++ interface.


Required to run:
[databases/postgresql95-client]

Required to build:
[pkgtools/cwrappers] [lang/python37]

Master sites:

SHA1: 2f35a82236670ba943eead876b9816fe1867a0f6
RMD160: eaafadbadcdb28b78611f2666d98a64c7fec0b4f
Filesize: 676.906 KB

Version history: (Expand)


CVS history: (Expand)


   2020-09-15 11:48:26 by Patrick Welche | Files touched by this commit (6) | Package updated
Log message:
Update libpqxx to 7.1.2

Now requires c++17.

Headline:

   Easier, faster, neater: the transaction classes now have a stream
   method. You specify a query and the C++ types to which you want
   the fields converted, and you get to iterate over the rows. And
   thanks to C++14 structured bindings, you can read the fields
   straight into separate local variables:

   for (auto const [id, name]:
       tx.stream<int, std::string_view>("SELECT id, name FROM \ 
thing"))
   {
       process(id, name);
   }

   For super-fast access to a field's text-format contents, convert
   it to std::string_view. It'll give you an immediate reference
   to the buffer containing the field. Beware though: the buffer
   only holds that text for the one iteration. The next iteration
   will overwrite it.

Full list of changes at:
   https://github.com/jtv/libpqxx/blob/7.1.2/NEWS
   2019-04-25 09:33:32 by Maya Rashish | Files touched by this commit (620)
Log message:
PKGREVISION bump for anything using python without a PYPKGPREFIX.

This is a semi-manual PKGREVISION bump.
   2018-05-03 15:29:57 by Patrick Welche | Files touched by this commit (1)
Log message:
Missed libpqxx/options.mk
   2018-05-03 14:58:24 by Patrick Welche | Files touched by this commit (9) | Package updated
Log message:
Update libpqxx to 6.2.2

patch-ab no longer needed just since 15 Jan 2018(!)

5 years worth of changes including:
- C++11 is now required. Your compiler must have shared_ptr, noexcept, etc.
- Removed pqxx::items. Use the new C++11 initialiser syntax.
- Removed maketemporary. We weren't using it.
- Can now be built outside the source tree.
- New, simpler, lambda-friendly transactor framework.
- New, simpler, prepared statements and parameterised statements.
- Result rows can be passed around independently.
- New exec0(): perform query, expect zero rows of data.
- New exec1(): perform query, expect (and return) a single row of data.
- New exec_n(): perform query, expect exactly n rows of data.
- No longer defines Visual Studio's NOMINMAX in headers.
- Much faster configure script.
- Most configuration items are gone.
- Retired all existing capability flags.
- Documentation on readthedocs.org, thanks Tim Sheerman-Chase.
- Expose SQLSTATE error codes in sql_error exceptions.
- Adds a first-generation parser for SQL arrays.
   2017-01-01 15:44:09 by Thomas Klausner | Files touched by this commit (577)
Log message:
Add python-3.6 to incompatible versions.
   2016-10-09 23:42:04 by Thomas Klausner | Files touched by this commit (110)
Log message:
Recursive bump for all users of pgsql now that the default is 95.
   2016-07-09 15:04:18 by Thomas Klausner | Files touched by this commit (599)
Log message:
Remove python33: adapt all packages that refer to it.
   2015-12-05 22:26:09 by Adam Ciarcinski | Files touched by this commit (578)
Log message:
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35