pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Pepe TD Vo <pepevo@yahoo.com>
To: Morris de Oryx <morrisdeoryx@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Merge statement
Date: Sat, 21 Sep 2019 08:20:10 -0400
Message-ID: <F6B26603-3382-41B9-A613-F391806BC9CA@yahoo.com> (raw )
In-Reply-To: <CAKqnccjTyo9TEYMp1YdFvf9RCOJv7vg5dOYKd852vOsM7P7e2Q@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 >
<343266304.7137386.1569017757225@mail.yahoo.com >
<CAKqnccjTyo9TEYMp1YdFvf9RCOJv7vg5dOYKd852vOsM7P7e2Q@mail.gmail.com >
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:
https://severalnines.com/database-blog/overview-new-stored-procedures-postgresql-11
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.
view thread (13+ messages) latest in thread
Message-ID: <F6B26603-3382-41B9-A613-F391806BC9CA@yahoo.com>
Permalink: ../F6B26603-3382-41B9-A613-F391806BC9CA@yahoo.com/
Also on: postgresql.org/message-id/F6B26603-3382-41B9-A613-F391806BC9CA@yahoo.com
copy link · copy postgr.es
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, morrisdeoryx@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: Merge statement
In-Reply-To: <F6B26603-3382-41B9-A613-F391806BC9CA@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