AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Migrate a Postgres Function to Production
With Postgres, when you run this function, like is active subscription, you don't get all the intermediate steps. You just get true or false. And so you basically have to write like four different queries that are each of the steps and then kind of roll them up into a single function. So it's very, it's hard. Like the debugging story is a lot harder. I'm also happy we did this just because we've been using a server for the last year. It has to be able to derive data if we're going to, yeah, we're Going to continue to use it.