postgres

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package postgres registers the pgx/v5 driver for a Quark application.

import _ "github.com/jcsvwinston/quark/drivers/postgres"

It registers NO classifier, and that is deliberate rather than an omission. Quark reads a PostgreSQL SQLSTATE through the `SQLState() string` method that every PostgreSQL driver exposes, so unique violations, deadlocks and connection failures are already classified without naming a driver type — which is what lets the same code cover lib/pq, pq and pgx alike. Adding a classifier typed to one of them would quietly stop covering the others.

Jump to

Keyboard shortcuts

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