Introduction
Foreign data wrappers let you access data stored outside your database as if it were inside. This helps you work with different data sources easily.
You want to query data from another database without copying it.
You need to combine data from different systems in one query.
You want to access files or external services as tables.
You want to keep data in place but still analyze it with SQL.
You want to join local and remote data in a single query.