Sign in

Piotr Olaszewski

@piotrooo.bsky.social
80 followers 344 following 38 posts

👷🏻‍♂️ Software Architect at Thulium ☕️ Java 🤷‍♂️ All opinions are mine and only mine

PostsRepliesMedia
Piotr Olaszewski @piotrooo.bsky.social · 04/08/2026
PostgreSQL's serial isn't a type. It's a sequence + an integer + a nextval() default, glued together. Which is why GRANT INSERT on the table isn't enough — the role also needs USAGE on the sequence. generated always as identity doesn't have that problem. All ten below 👇
A dark diff-style cheatsheet titled "Don't do This in psql", listing ten PostgreSQL anti-patterns — char(n), varchar(n), money, serial, timestamp, BETWEEN, NOT IN, CamelCase identifiers, table inheritance and trust authentication — each with the wrong SQL in red, the recommended form in green, and a one-line explanation.
000
Piotr Olaszewski @piotrooo.bsky.social · 21/05/2025
Finally 🚀 Thanks to the #SpringAI team for that ❤️ @spring.io
000
Piotr Olaszewski @piotrooo.bsky.social · 28/11/2024
Remember ☝️, when you update your #SpringBoot application to the latest version and need to run the shell start script in Buildpacks, you must overwrite the builder to paketobuildpacks/builder-jammy-base! But, keep updating! docs.spring.io/spring-boot/...
011