Is is possible to query across servers in PostgreSQL? For example, by using an INSERT INTO query to insert table data from a table in one server to another? If so, would the query look roughly like the following:
INSERT INTO [destination table]
SELECT *
FROM [source server].[source schema].[source table]
?
I tried running this query, and received the following error “cross-database references are not implemented”
New contributor
MBM is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.