Cross DB insert with returning id

From: Ritanjali M <ritanjalim60(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Cross DB insert with returning id
Date: 2016-04-14 13:50:11
Message-ID: CAOuzsCR+zjH5_qwnUUugMsTTyxUasxOGEO4HhtEKL7RHGjzzWg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Team,

I am new to postgresql ,i need to create one function where i have to
insert data into cross database table from that table identity value i need
to insert some other table other database within one function .i am able to
insert the data into cross DB table using dblink_exec but i unable to get
the identity value ,so how could i will get identity value from cross
DB.please help me out with the example.

--
Thanks & Regards
Ritanjali Majhee

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2016-04-14 13:57:53 Re: Re: Why is the comparison between timestamp and date so much slower then between two dates
Previous Message Thomas Kellerer 2016-04-14 13:12:12 Re: Why is the comparison between timestamp and date so much slower then between two dates