Re: Procedures

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Robin Abbi <robin(dot)abbi(at)downley(dot)net>, Dave Cramer <davecramer(at)postgres(dot)rocks>, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: Procedures
Date: 2020-08-22 02:42:35
Message-ID: CAKFQuwaEnUAaF=rPhsLymWDsGg71CXAswVRNnhxV+h=3q+3pDg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Fri, Aug 21, 2020 at 3:52 PM Bruce Momjian <bruce(at)momjian(dot)us> wrote:

>
> > Agreed, this doc area needs help.
>
> I developed the attached patach for this. Is this sufficient?
>

For consistency I would change "statement" to "command" at the end of that
paragraph .

the <xref linkend="sql-call"/> command.

and to contrast with "a part of" I would modify the following fragment to
read:

a procedure is called in isolation

Taken together:

While a function is called as part of a query or DML command, a procedure
is called in isolation using the <xref linked="sql-call"/> command.

And then swap the order of, and tweak, the transaction and isolation
sentences:

[...] the CALL command. If the CALL command is not part of an explicit
transaction a procedure can also manage multiple transactions during its
execution.

David J.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Alvaro Herrera 2020-08-22 03:19:07 Re: Document "59.2. Built-in Operator Classes" have a clerical error?
Previous Message David G. Johnston 2020-08-22 02:21:30 Re: Subscript expressions do not have to evaluate to integers