Steps to Setup a Foreign Data Wrapper(postgres_fdw) in PostgreSQL
Steps to Setup a Foreign Data Wrapper(postgres_fdw) in PostgreSQL A foreign data wrapper (postgres_fdw) is an extension available in PostgreSQL that allows you to access a table or schema in one PostgreSQL database from another PostgreSQL DB. For this demonstration, we’ll use the databases local_db and remote_db. We will access a table employee in remote_db