pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua Tolley <eggyknap@gmail.com>
To: David Harel <hareldvd@gmail.com>
Cc: postgres sql <pgsql-sql@postgresql.org>
Subject: Re: User function that returns a set of rows.
Date: Mon, 24 May 2010 16:14:45 -0600
Message-ID: <4bfafa57.0752640a.0b22.ffff88ac@mx.google.com> (raw)
In-Reply-To: <4BFAC67F.8050504@gmail.com>
References: <4BFAC67F.8050504@gmail.com>

On Mon, May 24, 2010 at 09:33:35PM +0300, David Harel wrote:
>    When I tried it from the shell I got a nasty error message about that I am
>    not in an environment to receive a set ??? (can't see it now. Office
>    restrictions).
> 
>    Any idea?

Your query should say something like "SELECT * FROM select_business_types()".
You'll get that error if you instead say "SELECT select_business_types()".

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

Attachments:

  signature.asc (application/pgp-signature, 196B) download

view thread (2+ messages)

Message-ID: <4bfafa57.0752640a.0b22.ffff88ac@mx.google.com>
Permalink:  ../4bfafa57.0752640a.0b22.ffff88ac@mx.google.com/
Also on:    postgresql.org/message-id/4bfafa57.0752640a.0b22.ffff88ac@mx.google.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: eggyknap@gmail.com, hareldvd@gmail.com
  Subject: Re: User function that returns a set of rows.
  In-Reply-To: <4bfafa57.0752640a.0b22.ffff88ac@mx.google.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox