Skip site navigation (1) Skip section navigation (2)

Re: return a set of records

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Werner Echezuria <wercool(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: return a set of records
Date: 2009-08-27 22:02:30
Message-ID: 4A970276.5080503@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-hackers
t

Werner Echezuria wrote:
> Hi, I need to return a set of records from a query, first I translate
> from sqlf to sql and later I wanna return the query, but the server
> crash (I guess it crashes around the yyparse call).
>
> This is the sql:
>
> CREATE OR REPLACE FUNCTION sqlf (text) RETURNS SETOF record
> AS 'MODULE_PATHNAME', 'sqlf'
> LANGUAGE C IMMUTABLE STRICT;
>   

You function doesn't look too immutable. Is it really?

cheers

andrew

In response to

Responses

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2009-08-27 22:08:08
Subject: Re: 8.5 release timetable, again
Previous:From: Kevin GrittnerDate: 2009-08-27 21:30:17
Subject: Re: 8.5 release timetable, again

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group