Re: Import & Export DB table structure with data

From: Om Prakash Jaiswal <op12om(at)yahoo(dot)co(dot)in>
To: Ashwani Kumar B <ashwani(dot)b(dot)kumar(at)ericsson(dot)com>, "pgsql-performance-owner(at)postgresql(dot)org" <pgsql-performance-owner(at)postgresql(dot)org>, "pgsql-sql-owner(at)postgresql(dot)org" <pgsql-sql-owner(at)postgresql(dot)org>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Import & Export DB table structure with data
Date: 2017-07-19 06:08:13
Message-ID: 490338520.330948.1500444493613@mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Dear Aswin,you have to create table at receiving end and use dblink() function of postgresql.
RegardsOm Prakash

On Wednesday, 19 July 2017 11:27 AM, Ashwani Kumar B <ashwani(dot)b(dot)kumar(at)ericsson(dot)com> wrote:

<!--#yiv0244021150 _filtered #yiv0244021150 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv0244021150 #yiv0244021150 p.yiv0244021150MsoNormal, #yiv0244021150 li.yiv0244021150MsoNormal, #yiv0244021150 div.yiv0244021150MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}#yiv0244021150 a:link, #yiv0244021150 span.yiv0244021150MsoHyperlink {color:blue;text-decoration:underline;}#yiv0244021150 a:visited, #yiv0244021150 span.yiv0244021150MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv0244021150 span.yiv0244021150EmailStyle19 {font-family:"Calibri", "sans-serif";color:#1F497D;}#yiv0244021150 .yiv0244021150MsoChpDefault {font-family:"Calibri", "sans-serif";} _filtered #yiv0244021150 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv0244021150 div.yiv0244021150WordSection1 {}-->Hi   I have to import table structure from one DB  and create the same table structure in another DB.   Secondly I have to copy all the data from one DB to another DB   Kindly suggest way forward.   Regards Ashwani

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ashwani Kumar B 2017-07-19 07:14:32 Re: Import & Export DB table structure with data
Previous Message Ashwani Kumar B 2017-07-19 05:55:46 Import & Export DB table structure with data