You can use the same ZFS snapshot cloning with PostgreSQL. I've been using for a few years to test tricky db migrations with production data or to debug difficult production issues we couldn't reproduce otherwise. You take a zfs snapshot, create a zfs clone, copy the postgres config file and postgres in single user mode on the clone. It is practically instantaneous to get a clone of a prod db.