If you have a wiki in postgres, there's no good migration path to mysql. Could we introduce some abstract SQL dump format? Could also be used by Wikimedia as well (in addition to the mysql dumps).
It would be neat if the schema definition could indicate whether the data in the column is private or not, so that the abstract dump could just omit that information if --public
or something was provided to the dump script (T140977). It could also (partially?) replace the logic that's maintained in maintain-views.yaml.
Probably a separate project in itself, but wanted to mention the idea to make sure any necessary groundwork wouldn't be missed.