Re: Two fixes for plpgsql.sgml - Mailing list pgsql-docs

From Tom Lane
Subject Re: Two fixes for plpgsql.sgml
Date
Msg-id 20923.1196282281@sss.pgh.pa.us
Whole thread Raw
In response to Re: Two fixes for plpgsql.sgml  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Two fixes for plpgsql.sgml  (Bruce Momjian <bruce@momjian.us>)
List pgsql-docs
Bruce Momjian <bruce@momjian.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.

            regards, tom lane

pgsql-docs by date:

Previous
From: David Fetter
Date:
Subject: Partition: use triggers instead of rules
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Partition: use triggers instead of rules