pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/libpqxx Update libpqx to 7.7.4
details: https://anonhg.NetBSD.org/pkgsrc/rev/e187765a0aa5
branches: trunk
changeset: 390798:e187765a0aa5
user: prlw1 <prlw1%pkgsrc.org@localhost>
date: Thu Dec 29 22:24:48 2022 +0000
description:
Update libpqx to 7.7.4
You now have three basic ways to query data, all through methods on your transaction object:
- "query" methods execute the query, load the full result set,
and then let you iterate the rows. They convert each row to a
tuple of values of your chosen types.
- "stream" methods do the same thing, except they run the query
in a different way that's slower to start up, but starts giving
you rows right away without waiting for the full result to come
in. The rows also come in faster.
- "exec" methods execute the query, load the full result set,
and return a pqxx::result object. It contains both the result
data and metadata such as how many rows there are in the result.
Highlights:
- Build docs in `doc/html/`, no longer in `doc/html/Reference/`.
- New `result::for_stream()`: simple iteration and conversion of rows.
- New `transaction_base::for_query()` is similar, but non-streaming. (#580)
- Query data and iterate directly as client-side types: `query()`. (#580)
- New ways to query a single row! `query01()` and `query1()`. (#580)
- We now have 3 kinds of execution: "exec", "query", and "stream" functions.
- Use C++23 `std::unreachable()` where available.
- New class, `connecting` for nonblocking connection to the database. (#487)
- New class, `range` for SQL range types. (#490)
- Support `result::at(row_num, col_num)`.
- Support `result[row_num, col_num]` if the compiler allows it.
- `result::iter()` return value now keeps its `result` alive.
- Add C++20 concepts: `binary`, `char_string`, `char_strings`.
- New helper: `pqxx::value_type<CONTAINER>`.
- New helper: `pqxx::binary_cast`. (#450)
- Helper for generating parameter placeholders `$1`, `$2`, etc. (#443)
- Now requires `std::variant` support! No longer works with gcc7.
- New `blob::read()` using `std::span`. (#429)
- New, simpler API for large objects: `blob` ("binary large object").
For full changelog, see https://github.com/jtv/libpqxx/blob/7.7.4/NEWS
diffstat:
databases/libpqxx/Makefile | 4 +-
databases/libpqxx/PLIST | 679 ++++++++++++++++++++++--------------------
databases/libpqxx/distinfo | 8 +-
databases/libpqxx/options.mk | 14 +-
4 files changed, 364 insertions(+), 341 deletions(-)
diffs (truncated from 818 to 300 lines):
diff -r 55a04209c95c -r e187765a0aa5 databases/libpqxx/Makefile
--- a/databases/libpqxx/Makefile Thu Dec 29 19:45:48 2022 +0000
+++ b/databases/libpqxx/Makefile Thu Dec 29 22:24:48 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2021/01/07 16:29:30 prlw1 Exp $
+# $NetBSD: Makefile,v 1.39 2022/12/29 22:24:48 prlw1 Exp $
-DISTNAME= libpqxx-7.3.0
+DISTNAME= libpqxx-7.7.4
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=jtv/}
GITHUB_PROJECT= libpqxx
diff -r 55a04209c95c -r e187765a0aa5 databases/libpqxx/PLIST
--- a/databases/libpqxx/PLIST Thu Dec 29 19:45:48 2022 +0000
+++ b/databases/libpqxx/PLIST Thu Dec 29 22:24:48 2022 +0000
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.9 2021/01/07 16:29:30 prlw1 Exp $
+@comment $NetBSD: PLIST,v 1.10 2022/12/29 22:24:48 prlw1 Exp $
include/pqxx/array
include/pqxx/array.hxx
include/pqxx/binarystring
include/pqxx/binarystring.hxx
-include/pqxx/compiler-public.hxx
+include/pqxx/blob
+include/pqxx/blob.hxx
include/pqxx/composite
include/pqxx/composite.hxx
include/pqxx/config-public-compiler.h
@@ -21,8 +22,6 @@
include/pqxx/field.hxx
include/pqxx/internal/array-composite.hxx
include/pqxx/internal/callgate.hxx
-include/pqxx/internal/compiler-internal-post.hxx
-include/pqxx/internal/compiler-internal-pre.hxx
include/pqxx/internal/concat.hxx
include/pqxx/internal/conversions.hxx
include/pqxx/internal/encoding_group.hxx
@@ -41,15 +40,18 @@
include/pqxx/internal/gates/result-pipeline.hxx
include/pqxx/internal/gates/result-sql_cursor.hxx
include/pqxx/internal/gates/transaction-sql_cursor.hxx
-include/pqxx/internal/gates/transaction-transactionfocus.hxx
+include/pqxx/internal/gates/transaction-transaction_focus.hxx
+include/pqxx/internal/header-post.hxx
+include/pqxx/internal/header-pre.hxx
include/pqxx/internal/ignore-deprecated-post.hxx
include/pqxx/internal/ignore-deprecated-pre.hxx
include/pqxx/internal/libpq-forward.hxx
include/pqxx/internal/result_iter.hxx
+include/pqxx/internal/result_iterator.hxx
include/pqxx/internal/sql_cursor.hxx
include/pqxx/internal/statement_parameters.hxx
include/pqxx/internal/stream_iterator.hxx
-include/pqxx/internal/transaction_focus.hxx
+include/pqxx/internal/wait.hxx
include/pqxx/isolation
include/pqxx/isolation.hxx
include/pqxx/largeobject
@@ -58,14 +60,17 @@
include/pqxx/nontransaction.hxx
include/pqxx/notification
include/pqxx/notification.hxx
+include/pqxx/params
+include/pqxx/params.hxx
include/pqxx/pipeline
include/pqxx/pipeline.hxx
include/pqxx/pqxx
include/pqxx/prepared_statement
include/pqxx/prepared_statement.hxx
+include/pqxx/range
+include/pqxx/range.hxx
include/pqxx/result
include/pqxx/result.hxx
-include/pqxx/result_iterator.hxx
include/pqxx/robusttransaction
include/pqxx/robusttransaction.hxx
include/pqxx/row
@@ -80,10 +85,14 @@
include/pqxx/stream_to.hxx
include/pqxx/subtransaction
include/pqxx/subtransaction.hxx
+include/pqxx/time
+include/pqxx/time.hxx
include/pqxx/transaction
include/pqxx/transaction.hxx
include/pqxx/transaction_base
include/pqxx/transaction_base.hxx
+include/pqxx/transaction_focus
+include/pqxx/transaction_focus.hxx
include/pqxx/transactor
include/pqxx/transactor.hxx
include/pqxx/types
@@ -96,314 +105,341 @@
include/pqxx/zview.hxx
lib/libpqxx.la
lib/pkgconfig/libpqxx.pc
-${PLIST.doc}share/doc/libpqxx/Reference/a00002_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00005_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00008_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00011_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00014_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00017_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00020_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00023_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00026_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00029_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00032_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00035_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00038_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00041_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00044_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00047_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00050_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00053_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00056_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00059_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00062_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00065_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00068_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00071_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00074_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00077_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00080_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00083_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00086_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00089_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00092_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00095_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00098_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00101_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00104_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00107_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00110_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00113_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00116_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00119_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00122_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00125_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00188_source.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00227.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00228.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00229.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00230.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00231.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00232.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00233.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00234.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00235.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00236.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00238.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00239.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00240.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00241.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00805.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00808.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00809.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00812.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00813.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00816.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00817.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00820.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00821.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00824.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00825.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00828.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00829.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00832.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00833.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00836.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00837.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00840.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00841.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00844.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00845.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00848.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00849.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00852.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00853.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00856.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00857.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00860.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00861.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00864.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00865.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00868.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00869.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00872.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00873.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00876.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00877.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00880.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00881.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00884.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00885.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00888.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00889.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00892.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00893.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00896.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00897.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00900.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00901.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00904.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00905.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00908.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00909.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00912.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00913.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00916.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00917.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00920.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00921.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00924.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00925.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00928.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00929.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00932.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00933.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00936.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00937.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00940.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00941.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00944.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00945.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00948.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00949.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00952.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00953.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00956.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00957.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00960.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00961.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00964.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00965.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00968.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00969.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00972.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00973.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00976.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00977.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00980.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00981.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00984.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00985.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00988.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00989.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00992.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00993.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00996.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00997.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01000.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01001.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01004.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01005.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01008.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01009.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01012.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01013.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01016.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01017.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01020.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01021.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01024.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01025.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01028.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01029.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01032.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01033.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01036.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01037.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01040.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01041.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01044.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01045.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01048.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01049.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01052.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01053.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01056.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01061.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01064.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01065.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01068.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01069.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01072.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01073.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01076.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01077.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01080.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01084.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01085.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01088.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01089.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01092.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01093.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01096.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01097.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01100.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01101.html
-${PLIST.doc}share/doc/libpqxx/Reference/a01104.html
Home |
Main Index |
Thread Index |
Old Index