API ? Data format is not the API...
API ? Data format is not the API...
Posted Feb 9, 2008 4:09 UTC (Sat) by malefic (subscriber, #37306)In reply to: API ? Data format is not the API... by khim
Parent article: PostgreSQL 8.4 development plan
> Nope. API/ABI are within the PostgreSQL/kernel. I don't care about that. If you want the analogy with kernel then sysfs will be a better one Well sysfs is a bad analogy too. Sysfs is an explicit *API*. PostgreSQL binary data was never meant to be used other than by the core server itself. I was not saying that dump/restore cycle is a good thing. I was just saying that keeping backwards compatibility with old binary format places a huge burden on the developers and threatens the overall quality of the product. I don't know what is the official position of PostgreSQL developers, but I suspect that it's in line with stable_api_nonsense.txt. I agree, however, that there could be some better way to migrate, than dump/restore. Maybe something like running the old server in backup mode until the new one finishes the restore, and then replaying the logs on the new server. And, again, you can use replication to migrate your data with near zero downtime.
