Re: Code examples for 39.6.1. Returning From a Function - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: Code examples for 39.6.1. Returning From a Function
Date
Msg-id 1366597484.10808.2.camel@vanquo.pezone.net
Whole thread Raw
In response to Code examples for 39.6.1. Returning From a Function  (Erwin Brandstetter <brandstetter@falter.at>)
List pgsql-docs
On Mon, 2013-04-08 at 00:08 +0200, Erwin Brandstetter wrote:
> Aloha!
>
> Repost, since the first attempt on 03.04.2013 14:31 was before I
> subsrcibed to pgsql-docs and doesn't seem to have arrived.
>
> As advised by Pavel here:
> http://stackoverflow.com/questions/15731247/postgresql-function-syntax-error/15731425#15731425
> I am sending this as possible code example for:
> http://www.postgresql.org/docs/current/interactive/plpgsql-control-structures.html#PLPGSQL-STATEMENTS-RETURNING
>
> |CREATE  FUNCTION  check_available_flightid(date)
>    RETURNS SETOF integerAS

Could you send a patch for that?  I'm not exactly sure where it should
go.

> While being at it, the example at
> http://www.postgresql.org/docs/current/interactive/plpgsql-control-structures.html#AEN56293
> could be improved.

Fixed.




pgsql-docs by date:

Previous
From: Adam Vande More
Date:
Subject: Data Partition Encryption documentation
Next
From: Pavel Stehule
Date:
Subject: RETURN QUERY documentation