awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
porsager avatar

porsager/postgres

0
View on GitHub↗
8,566 estrellas·336 forks·JavaScript·unlicense·3 vistas

Postgres

This project is a PostgreSQL client library and SQL query builder for JavaScript and TypeScript. It provides a low-level database driver and connection manager to handle database sessions, along with a logical replication client for monitoring real-time changes.

The library distinguishes itself with a high-performance bulk data streamer that utilizes the database copy command for importing and exporting large datasets. It also implements a logical replication protocol to facilitate real-time database synchronization through change subscriptions and channel-based notifications.

The toolset covers broad capability areas including dynamic query composition using parameterized templates, transaction management with automatic commit and rollback, and connection pool management with support for failover hosts. It further includes utilities for custom data type serialization, result set streaming via cursors, and protocol-level query cancellation.

Features

  • PostgreSQL Connectors - Serves as a low-level PostgreSQL client library with support for failover hosts, rotating credentials, and custom sockets.
  • SQL Query Builders - Provides a programmatic interface for constructing complex, dynamic SQL queries through a builder.
  • PostgreSQL Bulk Importers - Exposes a high-performance bulk copy command as readable and writable streams for importing and exporting large datasets.
  • Database Connection Managers - Provides a comprehensive system for managing connection pooling, failover hosts, and dynamic authentication.
  • Connection Pool Managers - Manages database connection lifecycles with pooling, failover host support, and isolated session reservation.
  • Logical Replication Ingestion - Implements the logical replication protocol to stream real-time database change notifications and row-level updates.
  • Database Transaction Management - Implements transaction lifecycle control with automatic commit and rollback support for atomic database operations.
  • Dynamic Fragments - Provides tools for building dynamic SQL statements by conditionally nesting fragments and generating column lists at runtime.
  • Connection Pooling - Manages a set of reusable database connections with the ability to reserve isolated sessions for transactional consistency.
  • Query Parameterization - Implements parameterized query execution using template literals to prevent SQL injection attacks.
  • SQL Query Builders - Provides a query builder that uses tagged template literals to serialize parameters and compose SQL fragments.
  • Transaction Management - Implements comprehensive transaction management with automatic commit, rollback, and savepoint support.
  • Bulk Data Operations - Supports inserting or updating multiple rows in a single query by passing arrays of objects to the builder.
  • Session Reservations - Provides the ability to reserve a single connection from the pool to ensure sequential queries run on the same session.
  • Custom Data Types - Provides a system to map database identifiers to objects using custom serialization and parsing functions.
  • Data Change Subscriptions - Supports real-time monitoring of database insert, update, and delete operations via logical replication.
  • Custom Type Serializers - Enables mapping of database type identifiers to custom JavaScript functions for automated data parsing and encoding.
  • Database Event Listeners - Includes a dedicated connection mechanism for listening to real-time database notifications with automatic reconnection.
  • Dynamic Row Insertion - Provides the ability to add rows using objects or arrays without manually specifying individual column names.
  • Large Dataset Streaming - Implements high-performance streaming of large datasets using the database copy command to optimize memory usage.
  • Result Streaming - Enables memory-efficient processing of large result sets via row-by-row streaming and cursors.
  • Real-time Data Synchronization - Facilitates real-time data synchronization using logical replication protocols and channel-based notifications.
  • Replication Clients - Implements a logical replication client to monitor real-time database changes and event streams.
  • Database Failover Management - Supports high availability by attempting connections to a list of hosts for failover and primary host restriction.
  • Connection Managers - Supports flexible connection configuration via URL strings or option objects with environment variable fallbacks.
  • Database Drivers - Node.js database driver.

Historial de estrellas

Gráfico del historial de estrellas de porsager/postgresGráfico del historial de estrellas de porsager/postgres

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Preguntas frecuentes

¿Qué hace porsager/postgres?

This project is a PostgreSQL client library and SQL query builder for JavaScript and TypeScript. It provides a low-level database driver and connection manager to handle database sessions, along with a logical replication client for monitoring real-time changes.

¿Cuáles son las características principales de porsager/postgres?

Las características principales de porsager/postgres son: PostgreSQL Connectors, SQL Query Builders, PostgreSQL Bulk Importers, Database Connection Managers, Connection Pool Managers, Logical Replication Ingestion, Database Transaction Management, Dynamic Fragments.

¿Qué alternativas de código abierto existen para porsager/postgres?

Las alternativas de código abierto para porsager/postgres incluyen: sqlalchemy/sqlalchemy — SQLAlchemy is a comprehensive Python SQL toolkit and object-relational mapper that provides a full suite of tools for… npgsql/npgsql — Npgsql is a .NET data provider and client library that enables applications to connect, execute queries, and manage… felixge/node-mysql — This project is a pure JavaScript database driver for Node.js that implements the native MySQL binary protocol. It… brianc/node-postgres — This project is a Node.js client for PostgreSQL databases, providing a protocol parser to translate raw binary streams… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web… knex/knex — Knex is a multi-dialect database client that provides a programmatic SQL query builder, a connection pool manager, and…

Alternativas open-source a Postgres

Proyectos open-source similares, clasificados según cuántas características comparten con Postgres.
  • sqlalchemy/sqlalchemyAvatar de sqlalchemy

    sqlalchemy/sqlalchemy

    11,612Ver en GitHub↗

    SQLAlchemy is a comprehensive Python SQL toolkit and object-relational mapper that provides a full suite of tools for interacting with relational databases. It serves as a foundational layer for database connectivity, offering both a high-level object-oriented interface for data persistence and a programmatic SQL expression language for constructing complex, dialect-agnostic queries. The project distinguishes itself through its sophisticated unit of work persistence, which coordinates atomic transactions and tracks object state changes to minimize redundant database operations. It provides a

    Pythonpythonsqlsqlalchemy
    Ver en GitHub↗11,612
  • npgsql/npgsqlAvatar de npgsql

    npgsql/npgsql

    3,702Ver en GitHub↗

    Npgsql is a .NET data provider and client library that enables applications to connect, execute queries, and manage data within PostgreSQL databases. It functions as a connection manager and translation layer between the application and the database server. The project features a connection manager capable of multi-host connectivity, providing load balancing and automatic failover across multiple servers. It includes specialized support for high-volume data import and export through bulk data operations and a mapping system that translates complex database types, such as arrays and JSON, into

    C#c-sharpdatabasedotnet
    Ver en GitHub↗3,702
  • felixge/node-mysqlAvatar de felixge

    felixge/node-mysql

    18,621Ver en GitHub↗

    This project is a pure JavaScript database driver for Node.js that implements the native MySQL binary protocol. It serves as a comprehensive connector for managing persistent network links to MySQL servers, enabling applications to execute queries, manage transactions, and handle complex data operations without requiring external middleware. The driver distinguishes itself through its integrated support for connection pooling and distributed database routing. It maintains managed sets of reusable network sockets to optimize resource usage under high request volumes, while simultaneously provi

    JavaScript
    Ver en GitHub↗18,621
  • brianc/node-postgresAvatar de brianc

    brianc/node-postgres

    13,155Ver en GitHub↗

    This project is a Node.js client for PostgreSQL databases, providing a protocol parser to translate raw binary streams into JavaScript objects. It serves as a driver for executing queries, managing data, and integrating Node.js applications with PostgreSQL backends. The library includes a connection pool manager to reduce network overhead by caching reusable connections and a result streamer that uses cursors to retrieve large datasets incrementally. It also functions as an event listener for subscribing to asynchronous server-side notifications to trigger real-time application events. Broad

    JavaScriptlibpqnode-postgrespostgres
    Ver en GitHub↗13,155
Ver las 30 alternativas a Postgres→