Re: how to return results from code block

From: David Johnston <polobo(at)yahoo(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: Andrus <kobruleht2(at)hot(dot)ee>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: how to return results from code block
Date: 2012-06-30 14:37:25
Message-ID: 7D60CADE-82D9-4645-8D1A-14AC568F627C@yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Jun 30, 2012, at 10:18, Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> wrote:
>
> Besides what Pavel said about not returning a result there is another issue with the above. It did not specify a language. I cleaned the function up a bit:
>

The lack of a language is not a problem since the command definition makes it explicitly optional and defaulting to PLPGSQL.

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jack Christensen 2012-06-30 15:38:00 Re: Complex database infrastructure - how to?
Previous Message Edson Richter 2012-06-30 14:25:19 Complex database infrastructure - how to?