Fresha successfully executed a zero-downtime upgrade from PostgreSQL 12 to 17 across over 200 databases by developing a tailored upgrade framework that addressed the complexities of maintaining data consistency and availability during the process. The approach involved leveraging logical replication, managing Debezium connectors, and implementing a two-phase switchover to ensure a seamless transition without disrupting production services.