Re: Procedures - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: Procedures
Date
Msg-id 20200822171447.GF26781@momjian.us
Whole thread Raw
In response to Re: Procedures  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Procedures  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-docs
On Fri, Aug 21, 2020 at 07:42:35PM -0700, David G. Johnston wrote:
> On Fri, Aug 21, 2020 at 3:52 PM Bruce Momjian <bruce@momjian.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.

OK, how is this updated patch?

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

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


Attachment

pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Subscript expressions do not have to evaluate to integers
Next
From: Tom Lane
Date:
Subject: Re: Document "59.2. Built-in Operator Classes" have a clerical error?