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
Hi,
I'm struggling to write what seed at the time a simple function
like:
"CREATE FUNCTION foo() RETURNS IDONO as
$$
select * from tbl;
return (whatever that will give the *);
$$
up till now I got this far:
CREATE OR REPLACE FUNCTION select_business_types ()
RETURNS SETOF RECORD
AS
$body