Re: Merge statement - Mailing list pgsql-admin

From Carrie Berlin
Subject Re: Merge statement
Date
Msg-id CAPyCnLnpz+y3dnxyoM1PnF_isr=wmA44ttrkDooKOaE3kOZaJg@mail.gmail.com
Whole thread Raw
In response to Merge statement  (Pepe TD Vo <pepevo@yahoo.com>)
List pgsql-admin
I know that it is a procedure and not a function, 

On Sat, Sep 21, 2019 at 08:20 Pepe TD Vo <pepevo@yahoo.com> wrote:
Thank you all.  Will look into it on Monday.

Have a pleasant weekend.

V/r,

Bach Nga

Sent from my iPad

On Sep 21, 2019, at 1:57 AM, Morris de Oryx <morrisdeoryx@gmail.com> wrote:

Postgres has had stored functions for ages, but only added stored procedures in version 11. Historically, you'll see people calling stored functions in Postgres "stored procedures" as that's what other folks call them. It didn't matter because Postgres only had the one thing. For what's new in Postgres 11 stored procedures, here's a place to look:


The change you're referring to is that a stored procedure (but not a function) has the ability to manage its own transaction blocks.

I actually have no clue...I've only read about the new stored procedures. But if you're coming from Oracle, you're likely looking for PG 11 stored procedures, at least some of the time.

pgsql-admin by date:

Previous
From: Pepe TD Vo
Date:
Subject: Re: Merge statement
Next
From: "Anthony E. Greene"
Date:
Subject: Re: GUI tool for Raspberry Pi - PostgreSQL 11.5