Move tables between databases PostgreSQL with a DBLINK do $$ declare r record ; begin for r in select * from dblink (‘host=localhost user=postgres …
Original source
Link to this post!
Move tables between databases PostgreSQL with a DBLINK do $$ declare r record ; begin for r in select * from dblink (‘host=localhost user=postgres …
Original source