partially broken
preserve anchor
more Postgres tweaks