Documentation errors in Programmers guide, chapter 4.

Поиск
Список
Период
Сортировка
От Dan Merillat
Тема Documentation errors in Programmers guide, chapter 4.
Дата
Msg-id 200102202229.f1KMTH126085@vulpine.ao.net
обсуждение исходный текст
Ответы Re: Documentation errors in Programmers guide, chapter 4.  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-docs
The following more interesting example takes a single argument of type EMP, and retrieves multiple results:

select function hobbies (EMP) returns set of HOBBIES
    as 'select (HOBBIES.all) from HOBBIES
        where $1.name = HOBBIES.person'
    language 'sql';

Should be:

create function hobbies (EMP) returns setof HOBBIES ...

It took me quite a while to figure out the second error, since "set of"
seemed perfectly natural there, when in fact it is "setof".

Thanks,

--Dan


В списке pgsql-docs по дате отправления:

Предыдущее
От: Bobby Mehta
Дата:
Сообщение: Could not access the following URL
Следующее
От: anton@hesiod.org
Дата:
Сообщение: web page search