Error class that parses PostgreSQL's ErrorResponse format and sets human readable field names. Works with node-pg, too.
TypeScript Enum for Postgres Errors with no runtime dependencies
PostgresQL error constants for use with Node.js. Use these to avoid code like `if (err.code === '23505')` and instead write `if (err.code === UNIQUE_VIOLATION)`.
Error codes for PostgreSQL
TypeScript definitions for pg-pool
Connection pool for node-postgres
The postgres client/server binary protocol, implemented in TypeScript
TypeScript definitions for pg
Functions for dealing with a PostgresSQL connection string
OpenTelemetry instrumentation for `pg` and `pg-pool` database client for PostgreSQL
Query result type converters for node-postgres
Minifies PostgreSQL scripts.
A socket implementation that can run on Cloudflare Workers using native TCP connections.
Postgres error codes for TypeScript
Prisma's driver adapter for "pg"
64-bit big-endian signed integer-to-string conversion
A memory version of postgres
Query cursor extension for node-postgres
A simple, minimal PostgreSQL session store for Connect/Express
A module for serializing and deserializing JSON data into hstore format
PostgreSQL database migration management tool for node.js
Postgres query result returned as readable stream
Queueing jobs in Postgres from Node.js like a boss
PostgreSQL interface for Node.js
Libgpg-error bindings for Rust
Raw bindings for libgpg-error
This is a simple and nice gem for SQL prettifying and formatting. Niceql splits, indent and colorize SQL query and PG errors if any. Could be used as a standalone gem without any dependencies. Seamless ActiveRecord integration via rails_sql_prettifier gem.
Retries database transaction on deadlock and transaction serialization errors. Supports MySQL, PostgreSQL and SQLite (as long as you are using new drivers mysql2, pg, sqlite3).
Retries database transaction on deadlock and transaction serialization errors. Supports MySQL, PostgreSQL and SQLite (as long as you are using new drivers mysql2, pg, sqlite3).
Allows you to specify one or all PG::Connection class methods to cause configurable delays and raise errors consistently or intermittently.
Transparently retries ActiveRecord transactions on ActiveRecord::Deadlocked errors (including PG::TRDeadlockDetected) with configurable exponential backoff and jitter. Provides hooks for custom callbacks, structured logging, and Rails initializer support.