Replying to:

@mackuba.eu Actually that was MySQL, but same effect in Postgres

Kuba Suder @mackuba