Re: documentation typo

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: documentation typo
Дата
Msg-id CABUevEx7VxvcgKGyveqyDsrK8ZCpR78OCMK+9djJW2SUpUe=5Q@mail.gmail.com
обсуждение исходный текст
Ответ на documentation typo  (PG Doc comments form <noreply@postgresql.org>)
Ответы Re: documentation typo  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: documentation typo
Следующее
От: Tom Lane
Дата:
Сообщение: Re: documentation typo