Home/Laurenz Albe
Author

Laurenz Albe

64 articles by Laurenz Albe.

Security — When is a function leakproof?

When is a function leakproof?

This article discusses row-level security, security barrier functions and leakproof functions, which are necessary to make them work.

LALaurenz Albe·June 2, 2026Security
Engineering — The bastard DBA from hell

The bastard DBA from hell

Two little stories from the working life of the bastard DBA from hell, fighting user problems (but mostly users).

LALaurenz Albe·November 12, 2025Engineering
Performance — Benefits of a DESCending index

Benefits of a DESCending index

The DESC clause in CREATE INDEX is rarely needed. I'll show use cases for descending indexes, including storage efficiency and performance.

LALaurenz Albe·October 21, 2025Performance
Databases — Row locks in PostgreSQL

Row locks in PostgreSQL

Row locks in PostgreSQL - how do they work? How can I debug problems with them? The answers with examples are here.

LALaurenz Albe·April 4, 2023Databases
Databases — The shibboleth of PostgreSQL

The shibboleth of PostgreSQL

A shibboleth is a phase whose pronounciation determines if you belong or not. This article tells you how not to pronounce "PostgreSQL".

LALaurenz Albe·December 30, 2020Databases