Logical replication DNS cache - Mailing list pgsql-general

From Mike Lissner
Subject Logical replication DNS cache
Date
Msg-id CAMp9=Ey8wrD-1CzPim+jLJqb40sFKuygs_LzwhYQCam1w_c_5w@mail.gmail.com
Whole thread Raw
Responses Re: Logical replication DNS cache
List pgsql-general
I've got a server at example.com that currently publishes logical replication to a server in AWS RDS. I plan to move the server at example.com so that it has a new IP address (but same domain name). 

I'm curious if anybody knows how the logical replication subscriber in AWS would handle that.

There's at least three layers where the DNS might be cached, creating breakage once the move is complete:

 - Postgres itself

 - AWS's postgresql fork in RDS might have something

 - The OS underlying amazon's RDS service

I expect this is a tough question unless somebody has done this before, but any ideas on how postgresql would handle this kind of thing? Or is there a way to flush the DNS cache that postgresql (or RDS or the OS) has?

I'm just beginning to explore this, but if anybody has experience, I'd love to hear it.

Thanks,


Mike

pgsql-general by date:

Previous
From: Dan shmidt
Date:
Subject: Re: Logical Replication of Multiple Schema Versions
Next
From: Andrew Gierth
Date:
Subject: Re: Encoding/collation question