title: PostgreSQL: How to copy data from one database table to another database
body: <p>I need simple example how to copy data from database <strong>DB1</strong> table <strong>T1</strong> to database <strong>DB2</strong> table <strong>T2</strong>.</p>
  
  <p><strong>T2</strong> has identical structure like <strong>T1</strong> (same column names, properties. Just different data)
  DB2 running on same server like DB1, but on different port.</p>