Jackc/pgx: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 7: Line 7:
=Overview=
=Overview=
<code>jackc/pgx</code> is a PostgreSQL low-level, high performance driver and toolkit that exposes PostgreSQL-specific features such as LISTEN/NOTIFY and COPY. It also includes an adapter for the standard <code>[[Go_Package_database|database/sql]]</code> package, but using <code>database/sql</code> is optional. It understands PostgreSQL data types. <code>jackc/pgx</code> is recommended when the application '''only''' targets PostgreSQL.
<code>jackc/pgx</code> is a PostgreSQL low-level, high performance driver and toolkit that exposes PostgreSQL-specific features such as LISTEN/NOTIFY and COPY. It also includes an adapter for the standard <code>[[Go_Package_database|database/sql]]</code> package, but using <code>database/sql</code> is optional. It understands PostgreSQL data types. <code>jackc/pgx</code> is recommended when the application '''only''' targets PostgreSQL.
=Database Operations=
==Open a Connection==

Revision as of 21:37, 21 May 2024

External

Internal

Overview

jackc/pgx is a PostgreSQL low-level, high performance driver and toolkit that exposes PostgreSQL-specific features such as LISTEN/NOTIFY and COPY. It also includes an adapter for the standard database/sql package, but using database/sql is optional. It understands PostgreSQL data types. jackc/pgx is recommended when the application only targets PostgreSQL.

Database Operations

Open a Connection