Re: Procedures

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: robin(dot)abbi(at)downley(dot)net, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Procedures
Date: 2020-08-06 00:17:58
Message-ID: 20200806001758.GA29874@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Tue, Aug 4, 2020 at 10:33:49AM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/11/sql-createprocedure.html
> Description:
>
> The information on procedures could helpfully include that the feature is
> new from PostgreSQL 11 and give an explanation of how it differs from
> functions. I found the information I needed here
> https://dba.stackexchange.com/a/262662, but I think it would really benefit
> others if the information was provided in the official documentation.

We don't normally mention what release added a features. However, I do
see your problem with finding that procedures can issue transaction
control statements. I see this for procedures:

https://www.postgresql.org/docs/12/xproc.html

but that has no mention of transactions, just a mention of using CALL,
then this pl/pgSQL section about transaction control mentions CALL:

https://www.postgresql.org/docs/12/plpgsql-transactions.html

Is this what you think needs improving?

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EnterpriseDB https://enterprisedb.com

The usefulness of a cup is in its emptiness, Bruce Lee

In response to

  • Procedures at 2020-08-04 10:33:49 from PG Doc comments form

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2020-08-06 00:29:50 Re: need for "see also" section or similar thing at hub pages
Previous Message Bruce Momjian 2020-08-05 21:36:56 Re: Typo in the Section "3.6. Inheritance"