awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
porsager avatar

porsager/postgres

0
View on GitHub↗
8,566 Stars·336 Forks·JavaScript·unlicense·3 Aufrufe

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.

Star-Verlauf

Star-Verlauf für porsager/postgresStar-Verlauf für porsager/postgres

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Postgres

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Postgres.
  • sqlalchemy/sqlalchemyAvatar von sqlalchemy

    sqlalchemy/sqlalchemy

    11,612Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗11,612
  • npgsql/npgsqlAvatar von npgsql

    npgsql/npgsql

    3,702Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗3,702
  • felixge/node-mysqlAvatar von felixge

    felixge/node-mysql

    18,621Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗18,621
  • brianc/node-postgresAvatar von brianc

    brianc/node-postgres

    13,155Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗13,155
Alle 30 Alternativen zu Postgres anzeigen→

Häufig gestellte Fragen

Was macht 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.

Was sind die Hauptfunktionen von porsager/postgres?

Die Hauptfunktionen von porsager/postgres sind: PostgreSQL Connectors, SQL Query Builders, PostgreSQL Bulk Importers, Database Connection Managers, Connection Pool Managers, Logical Replication Ingestion, Database Transaction Management, Dynamic Fragments.

Welche Open-Source-Alternativen gibt es zu porsager/postgres?

Open-Source-Alternativen zu porsager/postgres sind unter anderem: 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…