From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | supersuper1231(at)outlook(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org |
Subject: | Re: documentation typo |
Date: | 2022-01-30 12:44:03 |
Message-ID: | CABUevEx7VxvcgKGyveqyDsrK8ZCpR78OCMK+9djJW2SUpUe=5Q@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
On Sun, Jan 30, 2022 at 1:39 PM PG Doc comments form
<noreply(at)postgresql(dot)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/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-01-30 15:52:48 | Re: documentation typo |
Previous Message | PG Doc comments form | 2022-01-30 08:50:15 | documentation typo |