database in user-space filesystem accessing a Postgresql database