BSD Ports

databases/postgresql-libpqxx 8.0.1 MidnightBSD

New C++ interface for PostgreSQL

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
43c28f8bd0
License
bsd3
Categories
databases

Description

Welcome to libpqxx, the official C++ API to the PostgreSQL database management system.

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.

In the other systems

SystemPortVersion
MidnightBSDdatabases/postgresql-libpqxx8.0.1
FreeBSDdatabases/postgresql-libpqxx8.0.2
HardenedBSDdatabases/postgresql-libpqxx8.0.2
GhostBSDdatabases/postgresql-libpqxx8.0.2

Install

Binary package:

mport install postgresql-libpqxx

From mports:

cd /usr/mports/databases/postgresql-libpqxx && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	postgresql-libpqxx>0:databases/postgresql-libpqxx
LIB_DEPENDS=	libpqxx-.so:databases/postgresql-libpqxx

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
cmake compiler:c++17-lang pathfix pkgconfig pgsql
Service scripts
none

Files

pkg-plist 117
  • include/pqxx/array
  • include/pqxx/array.hxx
  • include/pqxx/blob
  • include/pqxx/blob.hxx
  • include/pqxx/composite
  • include/pqxx/composite.hxx
  • include/pqxx/config-compiler.h
  • include/pqxx/connection
  • include/pqxx/connection.hxx
  • include/pqxx/cursor
  • include/pqxx/cursor.hxx
  • include/pqxx/dbtransaction
  • include/pqxx/dbtransaction.hxx
  • include/pqxx/encoding_group
  • include/pqxx/encoding_group.hxx
  • include/pqxx/errorhandler
  • include/pqxx/errorhandler.hxx
  • include/pqxx/except
  • include/pqxx/except.hxx
  • include/pqxx/field
  • include/pqxx/field.hxx
  • include/pqxx/internal/array-composite.hxx
  • include/pqxx/internal/callgate.hxx
  • include/pqxx/internal/connection-string.hxx
  • include/pqxx/internal/conversions.hxx
  • include/pqxx/internal/encodings.hxx
  • include/pqxx/internal/gates/connection-errorhandler.hxx
  • include/pqxx/internal/gates/connection-largeobject.hxx
  • include/pqxx/internal/gates/connection-notification_receiver.hxx
  • include/pqxx/internal/gates/connection-pipeline.hxx
  • include/pqxx/internal/gates/connection-sql_cursor.hxx
  • include/pqxx/internal/gates/connection-stream_from.hxx
  • include/pqxx/internal/gates/connection-stream_to.hxx
  • include/pqxx/internal/gates/connection-transaction.hxx
  • include/pqxx/internal/gates/errorhandler-connection.hxx
  • include/pqxx/internal/gates/field_ref-const_row_iterator.hxx
  • include/pqxx/internal/gates/icursor_iterator-icursorstream.hxx
  • include/pqxx/internal/gates/icursorstream-icursor_iterator.hxx
  • include/pqxx/internal/gates/result-connection.hxx
  • include/pqxx/internal/gates/result-creation.hxx
  • include/pqxx/internal/gates/result-field_ref.hxx
  • include/pqxx/internal/gates/result-pipeline.hxx
  • include/pqxx/internal/gates/result-sql_cursor.hxx
  • include/pqxx/internal/gates/row_ref-const_result_iterator.hxx
  • include/pqxx/internal/gates/row_ref-result.hxx
  • include/pqxx/internal/gates/row_ref-row.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/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/stream_query.hxx
  • include/pqxx/internal/stream_query_impl.hxx
  • include/pqxx/internal/wait.hxx
  • include/pqxx/isolation
  • include/pqxx/isolation.hxx
  • include/pqxx/largeobject
  • include/pqxx/largeobject.hxx
  • include/pqxx/nontransaction
  • 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/robusttransaction
  • include/pqxx/robusttransaction.hxx
  • include/pqxx/row
  • include/pqxx/row.hxx
  • include/pqxx/separated_list
  • include/pqxx/separated_list.hxx
  • include/pqxx/strconv
  • include/pqxx/strconv.hxx
  • include/pqxx/stream_from
  • include/pqxx/stream_from.hxx
  • include/pqxx/stream_to
  • 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

The first 100 are listed.

distinfo 1
FileSizeSHA256
postgresql/jtv-libpqxx-8.0.1_GH0.tar.gz83020024f878a1b4249035e4b6c07d49351506bf99f88df584d36bf198d58ebf293823

Commit history 1

DateCommitCreditsLog message
43c28f8bd0 Lucas Holt Add PostgreSQL 15-18 ports and update database ports
Import the missing PostgreSQL version families and extensions, extend pgsql version selection, and update PostgreSQL 14, JDBC, and libpqxx. AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>