Re: Possible Example Error in Documentation

From: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, noogrub(at)gmail(dot)com
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Possible Example Error in Documentation
Date: 2020-11-06 13:50:57
Message-ID: 1d0dc7ec-69d6-1f5e-8540-9a5e85f74d59@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 11/5/20 7:37 PM, Tom Lane wrote:
> PG Doc comments form <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message John Burgoon 2020-11-06 13:53:05 Re: Possible Example Error in Documentation
Previous Message Tom Lane 2020-11-06 00:37:55 Re: Possible Example Error in Documentation