Neues vom PostgreSQL Planet

Neues vom PostgreSQL Planet Feed abonnieren
Planet PostgreSQL
Aktualisiert: vor 27 Minuten 48 Sekunden

Pavel Luzanov: PostgreSQL 18: part 3 or CommitFest 2024-11

4. April 2025 - 0:45

We continue the series of articles about new patches coming to PostgreSQL 18, this one covering the news of the November CommitFest.

If you missed the previous reviews, you can check them out here: 2024-07, 2024-09.

Gabriele Bartolini: CNPG Recipe 17 - PostgreSQL In-Place Major Upgrades

3. April 2025 - 10:31

CloudNativePG 1.26 introduces one of its most anticipated features: declarative in-place major upgrades for PostgreSQL using pg_upgrade. This new approach allows you to upgrade PostgreSQL clusters by simply modifying the imageName in their configuration—just like a minor version update. While it requires brief downtime, it significantly reduces operational overhead, making it ideal for managing large fleets of PostgreSQL databases in Kubernetes.

Lukas Fittl: Postgres vs. SQL Server: B-Tree Index Differences & the Benefit of Deduplication

3. April 2025 - 7:45
When it comes to optimizing query performance, indexing is one of the most powerful tools available to database engineers. Both PostgreSQL and Microsoft SQL Server (or Azure SQL) use B-Tree indexes as their default indexing structure, but the way each system implements, maintains, and uses those indexes varies in subtle but important ways. In this blog post, we explore key areas where PostgreSQL and SQL Server diverge: how their B-Tree indexes implementations behave under the hood and how they…

Hans-Juergen Schoenig: Using pgvector for timeseries data

3. April 2025 - 7:00

pgvector is a widely adopted extension for PostgreSQL that is often used to handle semantic search. One can find various topics and posts dealing with AI and so on. Recently, we have posted information about semantic search in PostgreSQL (see post).

Luca Ferrari: pgagroal now has docker files!

3. April 2025 - 2:00

An important contribution to pgagroal.

pgagroal now has docker files!

Thanks to the contribution of Arshdeep now the pgagroal connection pooler has also docker images available on the repository.

There are two docker files: one based on Alpine Linux and one based on Rocky Linux 9.

Thanks to these docker files it should be simpler to test and do a play of the connection pooler.

Grant Fritchey: Multi-Version Concurrency Control (MVCC) in PostgreSQL: Learning PostgreSQL with Grant

2. April 2025 - 22:52

It’s a tale as old as time. You want to read data. Your mate wants to write data. You’re stepping on each other’s toes, all the time. When we’re talking about relational data stores, one aspect that makes them what they are is the need to comply with the ACID properties. These are:

Christophe Pettus: Do not expose port 5432 to the public Internet

2. April 2025 - 18:30

Sometimes, we run into a client who has port 5432 exposed to the public Internet, usually as a convenience measure to allow remote applications to access the database without having to go through an intermediate server appllication.

Do not do this.

Henrietta Dombrovskaya: Please Welcome Prairie Postgres!

2. April 2025 - 12:44

Dear Postgres Community! In this post, I want to formally introduce Prairie Postgres, a project that has kept me really busy for the past several months.

Bertrand Drouvot: Postgres backend statistics (Part 2): WAL statistics

2. April 2025 - 7:26
Introduction

PostgreSQL 18 will normally (as there is always a risk of seeing something reverted until its GA release) include those commits: Add data for WAL in pg_stat_io and backend statistics:

David Wheeler: 2025 Postgres Extensions Mini Summit Two

1. April 2025 - 21:32

Last Wednesday, March 26, we hosted the second of five virtual Extension Mini-Summits in the lead up to the big one at the Postgres Development Conference (PGConf.dev) on May 13 in Montreal, Canada.

Karen Jex: Postgres on Kubernetes for the Reluctant DBA

1. April 2025 - 19:29

Slides and transcript from my talk, "Postgres on Kubernetes for the Reluctant DBA", at Data on Kubernetes Day Europe in London on 1 April 2025.

Laurenz Albe: Swiss Database Synergy Day 2025: Oracle and PostgreSQL User Groups Unite

1. April 2025 - 7:00

Since I sang the praise of the 2024 Swiss PGDay, my people asked me to report from yet another small conference: the Swiss Database Synergy Day 2025, organized by the Swiss Oracle and PostgreSQL user groups.

Andreas 'ads' Scherbaum: Akshat Jaimini

31. März 2025 - 16:00
PostgreSQL Person of the Week Interview with Akshat Jaimini: Hi! I am Akshat Jaimini, a final year undergraduate currently based out of Dehradun, India. I am working as an SDE Intern at a fintech firm called ION Group and will graduate soon in June, 2025.

Ian Barwick: PgPedia Week, 2025-03-30

30. März 2025 - 22:59

A lot going on this week (well, last week - this edition of PgPedia Week is unfortunately delayed due to personal reason), as CommitFest 52 (2025-03) - the final CommitFest in the PostgreSQL 18 development cycle - draws to an end. Though usually it will continue right up until code freeze on April 8th .

Pavel Stehule: How to fix Hibernate bug by conditional index

30. März 2025 - 7:59

Yesterday I found significant grow of seq read tuples. After some investigation I found query with strange predicate:

WHERE 1 = case when pb1_0.parent_id is not null then 0 end

It is really strange, and I had to ask, who wrote it.

The reply is - Hibernate. It is a transformation of predicate parent_id = (?) when the list of id is empty.

Unfortunately, PostgreSQL is not able to detect so this predicate is always false, and then the repeated execution ended in repeated full scans.

Jan Wieremjewicz: Transparent Data Encryption for PostgreSQL Release Candidate is Here!

28. März 2025 - 14:23
PostgreSQL is, without a doubt, one of the most popular open source databases in the world. Why? Well, there are many reasons, but if I had to pick just one, I’d say it’s extensibility. PostgreSQL isn’t just a database; it’s an ecosystem of extensions that can transform it to tackle any upcoming challenges. By enabling […]

Regina Obe: Converting JSON documents to relational tables

28. März 2025 - 5:03

JSON is one of the most popular ways of disseminating data between systems. It is probably the most common offered by webservices. PostgreSQL is a database perfectly suited for grabbing that data and transforming it into a more structured relational format. All this can be done directly in the database. We'll go over some ways to load and restructure json data.

Continue reading "Converting JSON documents to relational tables"

Dave Stokes: Saving The Output From psql

27. März 2025 - 21:39
 
Occasionally, you will need to capture data when working with a database. You can cut-n-paste or use a shell command like script. In typical PostgreSQL fashion, psql has two ways to save your output.
The First Way You must invoke psql with the --log-file- or -L option. The entire session will be recorded.

stoker@ThinkPad:~$ psql --log-file=/tmp/psqllog demo
Password for user stoker:

Pavlo Golub: Contributions for the week of 2025-03-10 (Week 10)

27. März 2025 - 13:51

On March 12, 2025 Elizabeth Christensen organized Postgres Meetup for All and the event theme was Postgres Schema Migrations. The following people contributed with their respective talks:

Henrietta Dombrovskaya: March Meetup with Ryan Booz

27. März 2025 - 12:45

On March 25, Chicago PUG members gathered one more time at the Training Center of the DRW Holdings office for our monthly meetup. Our speaker was Ryan Booz, an Advocate at Redgate; he presented the talk Intro to database migrations with Flyway.

Seiten