SQL/MED provides methods to access non-SQL data from SQL. It includes a wrapper interface that allows defining foreign tables on foreign servers accessed through foreign data wrappers. It also includes datalinks to manage files referenced from a database. PostgreSQL 8.4 includes initial SQL/MED support and substantial additional support is planned for 8.5, including writing wrapper libraries and foreign table support.