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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-08-27 22:08:08 Re: 8.5 release timetable, again
Previous Message Kevin Grittner 2009-08-27 21:30:17 Re: 8.5 release timetable, again