Re: Bug in documentation: https://www.postgresql.org/docs/current/spi-examples.html

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Curt Kolovson <ckolovson(at)gmail(dot)com>, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Bug in documentation: https://www.postgresql.org/docs/current/spi-examples.html
Date: 2023-07-18 16:00:49
Message-ID: 56763.1689696049@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> On Mon, Jul 17, 2023 at 7:45 PM Curt Kolovson <ckolovson(at)gmail(dot)com> wrote:
>> I’d vote for showing both (with RETURNING and without), since without it
>> the second argument to SPI_exec has no effect in this example, which may
>> not be obvious. That seems to be one of the subtle points illustrated by
>> this example.

> I concur:

Agreed. Done at 137b131d6.

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2023-07-18 18:14:10 Re: IN for records
Previous Message PG Doc comments form 2023-07-18 13:21:35 CREATEROLE Inheritance