postgres

package module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package postgres provides a PostgreSQL driver for ncore/data.

This driver uses pgx (github.com/jackc/pgx/v5) as the underlying database/sql driver. It registers itself automatically when imported:

import _ "github.com/ncobase/ncore/data/postgres"

The driver supports standard sql.DB connection pooling and configuration options including max idle connections, max open connections, and connection lifetime.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL