Re: return a set of records - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: return a set of records
Date
Msg-id 4A970276.5080503@dunslane.net
Whole thread Raw
In response to return a set of records  (Werner Echezuria <wercool@gmail.com>)
Responses Re: return a set of records
List 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


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: 8.5 release timetable, again
Next
From: Alvaro Herrera
Date:
Subject: Re: 8.5 release timetable, again