3min chapter

Postgres FM cover image

pg_upgrade: the tricky and dangerous parts

Postgres FM

CHAPTER

The Problem With Initializing a Physical Replica

Instead of regular installation, we use physical replicants. We don't need the first one because physical already brought us everything. So now we have second problem. This problem is quite interesting. If you first initialize logical replication, and then shut down your logical replica, run to generate and start again, there are risks of data corruption. It could be a page based backup, it could be PGB crest or WALG fetching whole database from backups. Or anything else.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode