I am using PostgreSQL
PostgreSQL 9.0.12, compiled by Visual C++ build 1500, 32-bit
I have two identical database on same server. I need to fetch data from a particular table from fist database and insert those data into other table in second database. I have read something about "EXTENSION" in postgres but I still don't get idea about how to use it.
So which is the better way to do it?
Any suggestion would help so much. Thank you.
dblink
in your current version, but in a newer PostgreSQL you could instead usepostgres_fdw
, the SQL/MED foreign data wrapper support. – Craig Ringer Jan 4 at 12:29