Skip site navigation (1) Skip section navigation (2)

Re: Documentation errors in Programmers guide, chapter 4.

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dan Merillat <harik(at)chaos(dot)ao(dot)net>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: Documentation errors in Programmers guide, chapter 4.
Date: 2001-02-23 20:17:30
Message-ID: 200102232017.PAA23979@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-docs
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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-docs by date

Next:From: Peter EisentrautDate: 2001-02-23 20:54:39
Subject: Re: Index for HTML versions of the manuals?
Previous:From: Peter EisentrautDate: 2001-02-23 19:32:34
Subject: Re: Java class documentation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group