HUPS!!! This didnt worked... SQLite doesnt crash so i thought it was fine, but PostgreSQL crashed, now found the proper solution