Hacker News with Generative AI: PostgreSQL

Show HN: Embed an SQLite database in your PostgreSQL table (github.com/frectonz)
Embed an SQLite database in your PostgreSQL table. AKA multitenancy has been solved.
SQLite vs. PostgreSQL Performance [video] (youtube.com)
Don't Do This with PostgreSQL (postgresql.org)
Don't use trust authentication over any TCP/IP method (e.g. host, hostssl) in any production environment.
PostgreSQL Conference Europe 2024 Talks (youtube.com)
PgPDF: Pdf Type and Functions for Postgres (github.com/Florents-Tselai)
This extension for PostgreSQL provides a pdf data type.
Do you need Redis? PostgreSQL does queuing, locking, and pub/sub (2021) (atomicobject.com)
pg_flo – Stream, transform, and re-route PostgreSQL data in real-time (pgflo.io)
The easiest way to move and transform data between PostgreSQL databases
Why Pg_dump Is Amazing (blogspot.com)
I wrote a blog post a couple of weeks ago entitled Is pg_dump a Backup Tool? In that post, I argued in the affirmative, but also said that it's probably shouldn't be your primary backup mechanism. For that, you probably shouldn't directly use anything that is included in PostgreSQL itself, but rather a well-maintained third-party backup tool such as barman or pgbackrest.
Why pg_dump Is Amazing (blogspot.com)
I wrote a blog post a couple of weeks ago entitled Is pg_dump a Backup Tool? In that post, I argued in the affirmative, but also said that it's probably shouldn't be your primary backup mechanism.
Show HN: Pg_mooncake – Delta/Iceberg columnstore tables in Postgres (github.com/Mooncake-Labs)
pg_mooncake is a PostgreSQL extension that adds native columnstore tables with DuckDB execution.
Pg_analytics has switched to PostgreSQL license (github.com/paradedb)
pg_analytics (formerly named pg_lakehouse) puts DuckDB inside Postgres. With pg_analytics installed, Postgres can query foreign object stores like AWS S3 and table formats like Iceberg or Delta Lake. Queries are pushed down to DuckDB, a high performance analytical query engine.
pg_duckdb beta release: Even faster analytics in Postgres (motherduck.com)
In August, we announced the pg_duckdb extension, a collaborative open-source project with Hydra, DuckDB Labs, and MotherDuck. pg_duckdb is a PostgreSQL extension that integrates DuckDB's analytics engine directly into PostgreSQL, allowing for rapid analytical queries alongside traditional transactional workloads.
Bulk optimization of queries in Postgres (substack.com)
MVCC – the part of PostgreSQL we hate the most (2023) (cs.cmu.edu)
There are a lot of choices in databases (897 as of April 2023). With so many systems, it’s hard to know what to pick! But there is an interesting phenomenon where the Internet collectively decides on the default choice for new applications. In the 2000s, the conventional wisdom selected MySQL because rising tech stars like Google and Facebook were using it. Then in the 2010s, it was MongoDB because non-durable writes made it “webscale“.
The Part of PostgreSQL We Hate the Most (2023) (cs.cmu.edu)
There are a lot of choices in databases (897 as of April 2023). With so many systems, it’s hard to know what to pick! But there is an interesting phenomenon where the Internet collectively decides on the default choice for new applications. In the 2000s, the conventional wisdom selected MySQL because rising tech stars like Google and Facebook were using it. Then in the 2010s, it was MongoDB because non-durable writes made it “webscale“.
Why does everyone run ancient Postgres versions? (neon.tech)
Most Postgres users won’t upgrade to Postgres 17, but why?
A video course on PostgreSQL – Mastering Postgres (masteringpostgres.com)
Mastering Postgres is a comprehensive video course that will help you level up your applications and your career.
PostgreSQL Streaming Replication (WAL); What It Is and How to Configure One (mindhub365.com)
Streaming replication in PostgreSQL is an efficient method for maintaining a near real-time replica of a primary database on one or more standby servers.
Show HN: OneSparse – Open Source Accelerated Sparse Linear Algebra for Postgres (github.com/OneSparse)
OneSparse Postgres extends the PostgreSQL object relational database with the state-of-the-art SuiteSparse:GraphBLAS high performance dense/sparse linear algebra library.
Show HN: PGT-Proxy – A PostgreSQL Proxy in 277 Lines of Rust (github.com/ambarltd)
PostgreSQL TLS Proxy is an intermediary server to easily and securely connect TLS enabled PG clients to TLS enabled PG servers.
PostgreSQL 17 (postgresql.org)
The PostgreSQL Global Development Group today announced the release of PostgreSQL 17, the latest version of the world's most advanced open source database.
PostgreSQL 17.0 Release Notes (postgresql.org)
PostgreSQL 17 contains many new features and enhancements, including:
pgroll: PostgreSQL zero-downtime migrations made easy (github.com/xataio)
pgroll is an open source command-line tool that offers safe and reversible schema migrations for PostgreSQL by serving multiple schema versions simultaneously.
Sharding and Scaling PostgreSQL, No Citus (pg-sharding.tech)
Show HN: Parse your Postgres queries into a fully-typed AST in TypeScript (github.com/pg-nano)
Parse your Postgres queries into a 100% type-safe AST (powered by libpg_query).
Hybrid Search with PostgreSQL and Pgvector (jkatz05.com)
A key metric when evaluating vector similarity search algorithms is “recall” - which measures the relevancy of the returned search results.
Intel Demonstrates Up to 48% Improvement for AVX-512 Optimized PostgreSQL (phoronix.com)
With the upcoming PostgreSQL 17 database server release there is some initial AVX-512 optimizations that are looking quite nice according to Intel's findings.
Intel Demonstrates Up to 48% Improvement for AVX-512 Optimized PostgreSQL (phoronix.com)
With the upcoming PostgreSQL 17 database server release there is some initial AVX-512 optimizations that are looking quite nice according to Intel's findings.
Haskell Postgres Stored Procedures (github.com/ed-o-saurus)
This project is a "procedural language" extension of PostgreSQL allowing the execution of code in Haskell within SQL code.
PostgreSQL is a great pub/sub and job server (2019) (webapp.io)