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

Re: Two fixes for plpgsql.sgml

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Guillaume Lelarge <guillaume(at)lelarge(dot)info>, Neil Conway <neilc(at)samurai(dot)com>, pgsql-docs(at)postgresql(dot)org
Subject: Re: Two fixes for plpgsql.sgml
Date: 2007-11-28 20:57:28
Message-ID: 200711282057.lASKvSt19769@momjian.us (view raw, whole thread or download thread mbox)
Thread:
Lists: pgsql-docs
Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > Agreed. I couldn't find any value to that phrase and couldn't find better
> > wording, so I removed it.  Patch attached and applied.
> 
> This is not an improvement.
> 
> The point of the original wording is that you have to say
> 	RETURNS SETOF sometype
> you can't just say, eg,
> 	RETURNS SET
> 
> Your new wording would lead the reader to the assumption that he can
> just declare a function as returning "set".
> 
> Please revert the change.

I found the original confusing, as did the author, so I updated the docs
again.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

Attachment: /rtmp/diff
Description: text/x-diff (1.1 KB)

In response to

Responses

pgsql-docs by date

Next:From: Joshua D. DrakeDate: 2007-11-28 21:03:42
Subject: Re: [PATCHES] Partition: use triggers instead of rules
Previous:From: David FetterDate: 2007-11-28 20:57:10
Subject: Re: Partition: use triggers instead of rules

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