From: Jonathan S. Katz <jkatz@postgresql.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: noogrub@gmail.com
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Possible Example Error in Documentation
Date: Fri, 6 Nov 2020 08:50:57 -0500
Message-ID: <1d0dc7ec-69d6-1f5e-8540-9a5e85f74d59@postgresql.org> (raw)
In-Reply-To: <1532072.1604623075@sss.pgh.pa.us>
References: <160460554398.25505.16500236866893587292@wrigleys.postgresql.org>
<1532072.1604623075@sss.pgh.pa.us>
On 11/5/20 7:37 PM, Tom Lane wrote:
> PG Doc comments form <noreply@postgresql.org> writes:
>> The following documentation comment has been logged on the website:
>> Page: https://www.postgresql.org/docs/12/plpgsql-transactions.html
>> Description:
>
>> We are using Postgres 12. When I use the example given for
>> transaction_test1() from the documentation here:
>> https://www.postgresql.org/account/comments/new/12/plpgsql-transactions.html/,
>> the procedure is created without incident. However, when I attempt "CALL
>> transaction_test1();", I receive the "invalid transaction termination"
>> error.
>
> Hmm, it works for me.
Ditto.
I did get that error message if I put a "BEGIN;" statement before
executing the CALL statement.
Jonathan
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-docs@postgresql.org
Cc: jkatz@postgresql.org, tgl@sss.pgh.pa.us, noogrub@gmail.com, pgsql-docs@lists.postgresql.org
Subject: Re: Possible Example Error in Documentation
In-Reply-To: <1d0dc7ec-69d6-1f5e-8540-9a5e85f74d59@postgresql.org>
* 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