{"id":4267,"date":"2025-01-28T00:09:25","date_gmt":"2025-01-28T06:09:25","guid":{"rendered":"http:\/\/www.aamirharoon.com\/?p=4267"},"modified":"2025-01-28T00:09:25","modified_gmt":"2025-01-28T06:09:25","slug":"improve-reliability-in-postgresql-17-leveraging-logical-replication-failover","status":"publish","type":"post","link":"https:\/\/aamirharoon.com\/?p=4267","title":{"rendered":"Improve Reliability in PostgreSQL 17: Leveraging Logical Replication Failover"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Check out my new blog post on PostgreSQL 17&#8217;s latest feature: <a href=\"https:\/\/engineering.doit.com\/improve-reliability-in-postgresql-17-leveraging-logical-replication-failover-e6a759171735\">https:\/\/engineering.doit.com\/improve-reliability-in-postgresql-17-leveraging-logical-replication-failover-e6a759171735<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After a long time, I have started to write blogs again. I have many notes to share on different RDBMSs that I have learned over the last few years, as well as various cloud services related to data in AWS and GCP. Hopefully, I&#8217;ll be able to post more regularly. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the meantime, check out my gist: <a href=\"https:\/\/gist.github.com\/aamir814\">https:\/\/gist.github.com\/aamir814<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cheers,<br>\ud83d\ude00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PostgreSQL 17 introduced the sync_replication_slot parameter, a game-changing feature to maintain logical replication continuity during failovers or major upgrades.<\/p>\n","protected":false},"author":1,"featured_media":4270,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[68,67,69],"class_list":["post-4267","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-postgresql","tag-68","tag-postgresql","tag-sync_replication_slots"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Improve Reliability in PostgreSQL 17: Leveraging Logical Replication Failover - The Database Handyman<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/3.151.205.99\/?p=4267\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Improve Reliability in PostgreSQL 17: Leveraging Logical Replication Failover - The Database Handyman\" \/>\n<meta property=\"og:description\" content=\"PostgreSQL 17 introduced the sync_replication_slot parameter, a game-changing feature to maintain logical replication continuity during failovers or major upgrades.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/3.151.205.99\/?p=4267\" \/>\n<meta property=\"og:site_name\" content=\"The Database Handyman\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-28T06:09:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/3.151.205.99\/wp-content\/uploads\/2025\/01\/blog-post-chatgpt.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Aamir\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@aamir814\" \/>\n<meta name=\"twitter:site\" content=\"@aamir814\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aamir\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/3.151.205.99\\\/?p=4267#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/3.151.205.99\\\/?p=4267\"},\"author\":{\"name\":\"Aamir\",\"@id\":\"https:\\\/\\\/aamirharoon.com\\\/#\\\/schema\\\/person\\\/5b7250c4974dcf9818ca431e21831c75\"},\"headline\":\"Improve Reliability in PostgreSQL 17: Leveraging Logical Replication Failover\",\"datePublished\":\"2025-01-28T06:09:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/3.151.205.99\\\/?p=4267\"},\"wordCount\":90,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/aamirharoon.com\\\/#\\\/schema\\\/person\\\/5b7250c4974dcf9818ca431e21831c75\"},\"image\":{\"@id\":\"https:\\\/\\\/3.151.205.99\\\/?p=4267#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/aamirharoon.com\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/blog-post-chatgpt.jpg\",\"keywords\":[\"17\",\"PostgreSQL\",\"sync_replication_slots\"],\"articleSection\":[\"PostgreSQL\"],\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/3.151.205.99\\\/?p=4267#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/3.151.205.99\\\/?p=4267\",\"url\":\"https:\\\/\\\/3.151.205.99\\\/?p=4267\",\"name\":\"Improve Reliability in PostgreSQL 17: Leveraging Logical Replication Failover - The Database Handyman\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/aamirharoon.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/3.151.205.99\\\/?p=4267#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/3.151.205.99\\\/?p=4267#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/aamirharoon.com\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/blog-post-chatgpt.jpg\",\"datePublished\":\"2025-01-28T06:09:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/3.151.205.99\\\/?p=4267#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/3.151.205.99\\\/?p=4267\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/3.151.205.99\\\/?p=4267#primaryimage\",\"url\":\"https:\\\/\\\/aamirharoon.com\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/blog-post-chatgpt.jpg\",\"contentUrl\":\"https:\\\/\\\/aamirharoon.com\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/blog-post-chatgpt.jpg\",\"width\":1200,\"height\":628},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/3.151.205.99\\\/?p=4267#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/aamirharoon.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Improve Reliability in PostgreSQL 17: Leveraging Logical Replication Failover\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/aamirharoon.com\\\/#website\",\"url\":\"https:\\\/\\\/aamirharoon.com\\\/\",\"name\":\"The Database Handyman\",\"description\":\"Cloud Architecture. Open-Source Databases. Data-Driven Solutions.\",\"publisher\":{\"@id\":\"https:\\\/\\\/aamirharoon.com\\\/#\\\/schema\\\/person\\\/5b7250c4974dcf9818ca431e21831c75\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/aamirharoon.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/aamirharoon.com\\\/#\\\/schema\\\/person\\\/5b7250c4974dcf9818ca431e21831c75\",\"name\":\"Aamir\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/aamirharoon.com\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/cropped-IMG_2639-scaled-1.jpg\",\"url\":\"https:\\\/\\\/aamirharoon.com\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/cropped-IMG_2639-scaled-1.jpg\",\"contentUrl\":\"https:\\\/\\\/aamirharoon.com\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/cropped-IMG_2639-scaled-1.jpg\",\"width\":512,\"height\":512,\"caption\":\"Aamir\"},\"logo\":{\"@id\":\"https:\\\/\\\/aamirharoon.com\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/cropped-IMG_2639-scaled-1.jpg\"},\"sameAs\":[\"https:\\\/\\\/www.aamirharoon.com\\\/about\\\/\",\"https:\\\/\\\/x.com\\\/aamir814\"],\"url\":\"https:\\\/\\\/aamirharoon.com\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Improve Reliability in PostgreSQL 17: Leveraging Logical Replication Failover - The Database Handyman","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/3.151.205.99\/?p=4267","og_locale":"en_US","og_type":"article","og_title":"Improve Reliability in PostgreSQL 17: Leveraging Logical Replication Failover - The Database Handyman","og_description":"PostgreSQL 17 introduced the sync_replication_slot parameter, a game-changing feature to maintain logical replication continuity during failovers or major upgrades.","og_url":"https:\/\/3.151.205.99\/?p=4267","og_site_name":"The Database Handyman","article_published_time":"2025-01-28T06:09:25+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/3.151.205.99\/wp-content\/uploads\/2025\/01\/blog-post-chatgpt.jpg","type":"image\/jpeg"}],"author":"Aamir","twitter_card":"summary_large_image","twitter_creator":"@aamir814","twitter_site":"@aamir814","twitter_misc":{"Written by":"Aamir"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/3.151.205.99\/?p=4267#article","isPartOf":{"@id":"https:\/\/3.151.205.99\/?p=4267"},"author":{"name":"Aamir","@id":"https:\/\/aamirharoon.com\/#\/schema\/person\/5b7250c4974dcf9818ca431e21831c75"},"headline":"Improve Reliability in PostgreSQL 17: Leveraging Logical Replication Failover","datePublished":"2025-01-28T06:09:25+00:00","mainEntityOfPage":{"@id":"https:\/\/3.151.205.99\/?p=4267"},"wordCount":90,"commentCount":0,"publisher":{"@id":"https:\/\/aamirharoon.com\/#\/schema\/person\/5b7250c4974dcf9818ca431e21831c75"},"image":{"@id":"https:\/\/3.151.205.99\/?p=4267#primaryimage"},"thumbnailUrl":"https:\/\/aamirharoon.com\/wp-content\/uploads\/2025\/01\/blog-post-chatgpt.jpg","keywords":["17","PostgreSQL","sync_replication_slots"],"articleSection":["PostgreSQL"],"inLanguage":"en","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/3.151.205.99\/?p=4267#respond"]}]},{"@type":"WebPage","@id":"https:\/\/3.151.205.99\/?p=4267","url":"https:\/\/3.151.205.99\/?p=4267","name":"Improve Reliability in PostgreSQL 17: Leveraging Logical Replication Failover - The Database Handyman","isPartOf":{"@id":"https:\/\/aamirharoon.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/3.151.205.99\/?p=4267#primaryimage"},"image":{"@id":"https:\/\/3.151.205.99\/?p=4267#primaryimage"},"thumbnailUrl":"https:\/\/aamirharoon.com\/wp-content\/uploads\/2025\/01\/blog-post-chatgpt.jpg","datePublished":"2025-01-28T06:09:25+00:00","breadcrumb":{"@id":"https:\/\/3.151.205.99\/?p=4267#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/3.151.205.99\/?p=4267"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/3.151.205.99\/?p=4267#primaryimage","url":"https:\/\/aamirharoon.com\/wp-content\/uploads\/2025\/01\/blog-post-chatgpt.jpg","contentUrl":"https:\/\/aamirharoon.com\/wp-content\/uploads\/2025\/01\/blog-post-chatgpt.jpg","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/3.151.205.99\/?p=4267#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/aamirharoon.com\/"},{"@type":"ListItem","position":2,"name":"Improve Reliability in PostgreSQL 17: Leveraging Logical Replication Failover"}]},{"@type":"WebSite","@id":"https:\/\/aamirharoon.com\/#website","url":"https:\/\/aamirharoon.com\/","name":"The Database Handyman","description":"Cloud Architecture. Open-Source Databases. Data-Driven Solutions.","publisher":{"@id":"https:\/\/aamirharoon.com\/#\/schema\/person\/5b7250c4974dcf9818ca431e21831c75"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/aamirharoon.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":["Person","Organization"],"@id":"https:\/\/aamirharoon.com\/#\/schema\/person\/5b7250c4974dcf9818ca431e21831c75","name":"Aamir","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/aamirharoon.com\/wp-content\/uploads\/2020\/10\/cropped-IMG_2639-scaled-1.jpg","url":"https:\/\/aamirharoon.com\/wp-content\/uploads\/2020\/10\/cropped-IMG_2639-scaled-1.jpg","contentUrl":"https:\/\/aamirharoon.com\/wp-content\/uploads\/2020\/10\/cropped-IMG_2639-scaled-1.jpg","width":512,"height":512,"caption":"Aamir"},"logo":{"@id":"https:\/\/aamirharoon.com\/wp-content\/uploads\/2020\/10\/cropped-IMG_2639-scaled-1.jpg"},"sameAs":["https:\/\/www.aamirharoon.com\/about\/","https:\/\/x.com\/aamir814"],"url":"https:\/\/aamirharoon.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/aamirharoon.com\/index.php?rest_route=\/wp\/v2\/posts\/4267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aamirharoon.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aamirharoon.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aamirharoon.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aamirharoon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4267"}],"version-history":[{"count":1,"href":"https:\/\/aamirharoon.com\/index.php?rest_route=\/wp\/v2\/posts\/4267\/revisions"}],"predecessor-version":[{"id":4269,"href":"https:\/\/aamirharoon.com\/index.php?rest_route=\/wp\/v2\/posts\/4267\/revisions\/4269"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aamirharoon.com\/index.php?rest_route=\/wp\/v2\/media\/4270"}],"wp:attachment":[{"href":"https:\/\/aamirharoon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aamirharoon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aamirharoon.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}