Re: documentation typo - Mailing list pgsql-docs

From Magnus Hagander
Subject Re: documentation typo
Date
Msg-id CABUevEx7VxvcgKGyveqyDsrK8ZCpR78OCMK+9djJW2SUpUe=5Q@mail.gmail.com
Whole thread Raw
In response to documentation typo  (PG Doc comments form <noreply@postgresql.org>)
Responses Re: documentation typo
List pgsql-docs
On Sun, Jan 30, 2022 at 1:39 PM PG Doc comments form
<noreply@postgresql.org> wrote:
>
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/10/lo-interfaces.html
> Description:
>
> I assume "inv_oid = lo_creat(conn, INV_READ|INV_WRITE);" should be "inv_oid
> = lo_create(conn, INV_READ|INV_WRITE);", right?
> https://www.postgresql.org/docs/10/lo-interfaces.html#LO-CREATE

lo_creat() and lo_create() are two different functions. They do the
same thing but take different parameters.

It might be worth splitting that part into one section with the
current function (lo_create) and then a separate section with the
backwards-compatible lo_creat function though -- I can see how it's
easy to come to the conclusion you did from reading it, and that could
be made a lot more clear.

-- 
 Magnus Hagander
 Me: https://www.hagander.net/
 Work: https://www.redpill-linpro.com/



pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: documentation typo
Next
From: Tom Lane
Date:
Subject: Re: documentation typo