(from the hip without much thought) -- mysqlUserFolder could be adapted easily to postgres since the interface is SQL and the differences there are (mostly) minor.