pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pepe TD Vo <pepevo@yahoo.com>
To: Carrie Berlin <berlincarrie@gmail.com>
Cc: Igor Neyman <ineyman@perceptron.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Cc: Pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Merge statement
Date: Fri, 20 Sep 2019 22:15:57 +0000 (UTC)
Message-ID: <343266304.7137386.1569017757225@mail.yahoo.com> (raw)
In-Reply-To: <CAPyCnL=4CorV9rrtJFvGoBURf6A1ODUagZaHr1KAS7R4K7m2BQ@mail.gmail.com>
References: <290131249.7032562.1568999216076.ref@mail.yahoo.com>
	<290131249.7032562.1568999216076@mail.yahoo.com>
	<BN6PR1701MB18907F3F1731BC80DE3A8F64DA880@BN6PR1701MB1890.namprd17.prod.outlook.com>
	<567497570.7112630.1569015183464@mail.yahoo.com>
	<CAPyCnL=4CorV9rrtJFvGoBURf6A1ODUagZaHr1KAS7R4K7m2BQ@mail.gmail.com>

 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@gmail.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@yahoo.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@perceptron.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
  
  

view thread (13+ messages)  latest in thread

Message-ID: <343266304.7137386.1569017757225@mail.yahoo.com>
Permalink:  ../343266304.7137386.1569017757225@mail.yahoo.com/
Also on:    postgresql.org/message-id/343266304.7137386.1569017757225@mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: pepevo@yahoo.com, berlincarrie@gmail.com, ineyman@perceptron.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Merge statement
  In-Reply-To: <343266304.7137386.1569017757225@mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox