From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Dan Merillat <harik@chaos.ao.net>
Cc: pgsql-docs@postgresql.org
Subject: Re: Documentation errors in Programmers guide, chapter 4.
Date: Fri, 23 Feb 2001 15:17:30 -0500 (EST)
Message-ID: <200102232017.PAA23979@candle.pha.pa.us> (raw)
In-Reply-To: <200102202229.f1KMTH126085@vulpine.ao.net>
Looks like this has been fixed. Can you check the development
documentation on the web site.
>
> 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
>
>
--
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: pgman@candle.pha.pa.us, harik@chaos.ao.net
Subject: Re: Documentation errors in Programmers guide, chapter 4.
In-Reply-To: <200102232017.PAA23979@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox