Обсуждение: 7.2 doc comments

Поиск
Список
Период
Сортировка

7.2 doc comments

От
bruno@wolff.to
Дата:
There seems to be a typo in the GRANT documentation.
REFERENCES
 To create of a table with a foreign key constraint, it is
 necessary to have this privilege on the table with the primary
 key.

I think you just want to remove "of".

I also found it odd that currval, nextval, and setval are covered in
the CREATE SEQUENCE and not in a section under functions. Even if the
main documentation for them stays in CREATE SEQUENCE, a reference to
them from the function documentation would be nice.

Re: 7.2 doc comments

От
Bruce Momjian
Дата:
> There seems to be a typo in the GRANT documentation.
> REFERENCES
>  To create of a table with a foreign key constraint, it is
>  necessary to have this privilege on the table with the primary
>  key.
>
> I think you just want to remove "of".

Fixed.  Thanks.

> I also found it odd that currval, nextval, and setval are covered in
> the CREATE SEQUENCE and not in a section under functions. Even if the
> main documentation for them stays in CREATE SEQUENCE, a reference to
> them from the function documentation would be nice.

I will let others answer this one.  I am not sure.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026