Sammlung von Newsfeeds

Hans-Juergen Schoenig: Optimizing PostgreSQL functions with preloaded libraries

Neues vom PostgreSQL Planet - 16. Januar 2024 - 16:26

In PostgreSQL, functions and procedures can be written in many different programming languages including but not limited to PL/pgSQL, PL/Perl, PL/Python and a lot more. This flexibility gives the end user the choice to write code in languages of their choice. However, this flexibility has some implications which are often forgotten. Loading libraries early is one of them.

Tristen Raab: JSON in PostgreSQL: Revolutionizing Data Flexibility in Your Database

Neues vom PostgreSQL Planet - 15. Januar 2024 - 22:21
Introduction

In this blog, we’ll go over PostgreSQL’s implementation and handling of JSON objects. Having some experience with Linux, Postgres, and JSON is necessary as we’ll not only be going over these new features but also how to implement them. This blog was written using PostgreSQL 16 (Development Version) running on Ubuntu 23.04. First I’ll go over some background on JSON as a short refresher, then move on to how we use JSON in Postgres, followed by what helpful functions we can use to interact with JSON objects.

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 17 – ALTER TABLE command to change generation expression

Neues vom PostgreSQL Planet - 15. Januar 2024 - 16:30
On 4th of January 2024, Peter Eisentraut committed patch: ALTER TABLE command to change generation expression   This adds a new ALTER TABLE subcommand ALTER COLUMN ... SET EXPRESSION that changes the generation expression of a generated column.   The syntax is not standard but was adapted from other SQL implementations.

Greg Sabino Mullane: Postgres Postmaster File Explained

Neues vom PostgreSQL Planet - 12. Januar 2024 - 14:00

You may have noticed a file called postmaster.pid inside your data directory. This file gets created when Postgres first starts up, and gets removed on a clean shutdown. It seems to contain some random numbers and strings, but what do they all mean?

The file will look like this:

2757 /home/greg/pg/17/data 176540940 5432 /tmp * 8675309 12 ready

Here is a quick cheat sheet of the contents:

Henrietta Dombrovskaya: The Optimization Book Second Edition Is Here!

Neues vom PostgreSQL Planet - 12. Januar 2024 - 4:38

Today was the day - our PostgreSQL Query Optimization book was published! The book is currently available on Apress website, and if you are interested in the paper book, I believe that’s the fastest way to get it.

Pavel Luzanov: PostgreSQL 17: part 3 or CommitFest 2023-11

Neues vom PostgreSQL Planet - 12. Januar 2024 - 1:00

The November commitfest is ripe with new interesting features! Without further ado, let’s proceed with the review.

If you missed our July and September commitfest reviews, you can check them out here: 2023-07, 2023-09.

Melanie Plageman: You should submit a Postgres talk to the CFP for PGConf.dev

Neues vom PostgreSQL Planet - 11. Januar 2024 - 18:15

The PGConf.dev CFP closes on Monday, January 15 at 11:59pm PST, so if you want to speak at the inaugural PGConf.dev, submit a proposal!

PGConf.dev is the new PostgreSQL Development Conference, the successor to PGCon, a Postgres contribution-focused conference that took place every year in Ottawa. Pronounced "Pee-gee-conf-dot-dev", the inaugural year of PGConf.dev will take place in beautiful Vancouver, Canada, on May 28-31, 2024—with many of the same conference features that made PGCon so great:

Lukas Fittl: Introducing pg_query for Postgres 16 - Parsing SQL/JSON, Windows support, PL/pgSQL parse mode & more

Neues vom PostgreSQL Planet - 11. Januar 2024 - 10:45
Parsing SQL queries and turning them into a syntax tree is not a simple task. Especially when you want to support special syntax that is specific to a particular database engine, like Postgres. And when you’re working with queries day in day out, like we do at pganalyze, understanding the actual intent of a query, which tables it scans, which columns it filters on, and such, is essential. Almost 10 years ago, we determined that in order to create the best product for monitoring and optimizing…

Jan Karremans: Cloud Services and Fully Managed Postgres

Neues vom PostgreSQL Planet - 11. Januar 2024 - 10:30
The Cloud is here

There is no getting around “The Cloud”. We all know it, everybody is doing it!
And, let’s face it, if you are looking to get away from the hardship of having to go through troublesome and boring processes to get a new server or a new rack installed in your data center, this might help.

Seiten