[test] Postgresql auto-pk differs from sqlite3. Get it dinamically.