Re: Calling functions from within pl/pgsql

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Achilleas Mantzios" <achill(at)matrix(dot)gatewaynet(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Calling functions from within pl/pgsql
Date: 2007-12-04 12:59:43
Message-ID: 162867790712040459s6ee86399h5dac46cc20d95e9f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 04/12/2007, Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> wrote:
> I noticed that in pl/pgsql simply
> result := funcname(func,args,...);
> just works.
> Should i rely on it or take it as a coincidence? :)

You found assignment :). Sure, you can use it.
http://www.postgresql.org/docs/8.2/interactive/plpgsql-statements.html#PLPGSQL-STATEMENTS-ASSIGNMENT

Regards
Pavel Stehule

> --
> Achilleas Mantzios
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Achilleas Mantzios 2007-12-04 13:23:04 Re: Calling functions from within pl/pgsql
Previous Message Achilleas Mantzios 2007-12-04 12:16:50 Calling functions from within pl/pgsql