help with a function - Mailing list pgsql-sql

From Clayton Cottingham aka drfrog
Subject help with a function
Date
Msg-id 200106030037.f530b7c00990@smartt.com
Whole thread Raw
In response to Re: trying to summarize into a new table by time...  (Alex Pilosov <alex@pilosoft.com>)
Responses Re: help with a function
List pgsql-sql
consider this function:

CREATE FUNCTION "test" (integer) RETURNS text AS 'return "select * from testt
limit $_[o];";' LANGUAGE 'plperl';


how would i get it to just run the query instead of just return it as text
using plperl?





pgsql-sql by date:

Previous
From: David BOURIAUD
Date:
Subject: Re: How to use the type int2vector ?
Next
From: "Jeff Barrett"
Date:
Subject: seleting all dates between two dates