Re: Code examples for 39.6.1. Returning From a Function

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Erwin Brandstetter <brandstetter(at)falter(dot)at>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: Code examples for 39.6.1. Returning From a Function
Date: 2013-04-22 02:24:44
Message-ID: 1366597484.10808.2.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Pavel Stehule 2013-04-23 06:37:55 RETURN QUERY documentation
Previous Message Adam Vande More 2013-04-18 20:16:47 Data Partition Encryption documentation