Building PostgreSQL (x86, x64) and OpenSSL using MSYS2 and MinGW under Windows
I've written already a blog post "Building PostgreSQL with MSYS2 and MinGW under Windows" a year ago. But this time […]
PostgreSQL meets “Data Science and AI”
PostgreSQL helps to achieve Data Science goals, and offers reliable backend storage for your data. Find out about great ML tools.
Install PostgreSQL 9.6 with Transparent Data Encryption
Cluster encryption for PostgreSQL: understand Transparent Data Encryption & the basic steps of installing PostgreSQL 9.6 with TDE.
Abusing SECURITY DEFINER functions in PostgreSQL
by
Laurenz Albe |
05.2019UPDATED August 2023: Functions defined as SECURITY DEFINER are a powerful, but dangerous tool in PostgreSQL. The documentation warns of […]
PostgreSQL: Using CREATE USER with caution
There are good reasons why CREATE USER should be used cautiously. Find out why, and why you should distinguish between users and roles.
1-to-1 relationship in PostgreSQL for real
How to implement 1-to-1 relationship in PostgreSQL? Tricks with UNIQUE constraints? Check how to achive that using DEFERRABLE foreign keys.
Triggers to enforce constraints in PostgreSQL
by
Laurenz Albe |
04.2019 Sometimes you want to enforce a condition on a table that cannot be implemented by a constraint. In such […]
DECLARE CURSOR in PostgreSQL or how to reduce memory consumption
This blogpost is about using cursors in PostgreSQL, their purpose and limitations and what DECLARE CURSOR and FETCH have to do with it.
Security and PostgreSQL - a reminder on various attack surfaces
This article gives an overview about common security problems as well as ways to mitigate these risks in PostgreSQL.
It is a frequent complaint that count(*) is so slow on PostgreSQL. In this article I want to explore […]