I am looking for a way to dump PostgreSQL12 database model into a directory/file structure, instead of a single file - for versioning purposes.
I found this old thread, which mentions this exact case and describes a --split
flag to be used with pg_dump.
However, this option does not exist in the current pg_dump for PostgreSQL12. I also tried the option --format=directory
but that's not it. How do I achieve this effect?