Use the tds_fdw extension to migrate data from SQL Server to PostgreSQL
Database Blog
This article demonstrates how to migrate data from SQL Server to PostgreSQL using the tds_fdw PostgreSQL extension. It covers the following key points:
- Configure the target PostgreSQL database
- Import the schema from the SQL Server database
- Create target tables based on the source table definition
- Reconcile DATE-related column issues due to locale setting differences
- Perform data validation
- Clean up intermediate objects used for migration
The tds_fdw extension allows PostgreSQL to access data from SQL Server databases. By setting up foreign data wrappers and servers, PostgreSQL can import schemas and data directly from SQL Server. The article provides detailed steps for this process, including handling date format issues between the two database systems. Overall, it presents an alternative migration approach for simpler data transfer needs compared to using AWS DMS.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
2025
2025
2026
2024
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.