Re: Merge statement

From: Pepe TD Vo <pepevo(at)yahoo(dot)com>
To: Carrie Berlin <berlincarrie(at)gmail(dot)com>
Cc: Igor Neyman <ineyman(at)perceptron(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>, Pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Merge statement
Date: 2019-09-20 22:15:57
Message-ID: 343266304.7137386.1569017757225@mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

you said, I can use my script transaction processing within a Postgres function in Postgres 11?
thank you,
v/r,

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)
**Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely rich *** Faithful talent *** Sharing success

On Friday, September 20, 2019, 05:41:21 PM EDT, Carrie Berlin <berlincarrie(at)gmail(dot)com> wrote:

There is no transaction processing with in a Postgres  function until you get to Postgres 11.You can run a merge in Postgres directly through sql.
On Fri, Sep 20, 2019 at 17:33 Pepe TD Vo <pepevo(at)yahoo(dot)com> wrote:

yes, this is to migrate from Oracle to Postgres.  I followed this link and as same as ora2pg

MERGE

|
|
| |
MERGE

|

|

|

thank you.
Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)
**Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely rich *** Faithful talent *** Sharing success

On Friday, September 20, 2019, 02:21:49 PM EDT, Igor Neyman <ineyman(at)perceptron(dot)com> wrote:


 

 

ERROR:  "application_cdim" is not a known variable

LINE 13:    MERGE INTO APPLICATION_CDIM prod

                       ^

SQL state: 42601

Character: 349
 

 

There is no MERGE in Postgres.

Is this migrated from Oracle?

 

Regards,

Igor Neyman

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Morris de Oryx 2019-09-21 05:57:32 Re: Merge statement
Previous Message Carrie Berlin 2019-09-20 21:40:08 Re: Merge statement