From: Clayton Cottingham aka drfrog <drfrog@smartt.com>
To: PostgreSQL SQL List <pgsql-sql@postgresql.org>
Subject: help with a function
Date: 02 Jun 2001 17:27:30 PDT
Message-ID: <200106030037.f530b7c00990@smartt.com> (raw)
In-Reply-To: <Pine.BSO.4.10.10106021300380.17529-100000@spider.pilosoft.com>
References: <Pine.BSO.4.10.10106021300380.17529-100000@spider.pilosoft.com>
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?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: drfrog@smartt.com
Subject: Re: help with a function
In-Reply-To: <200106030037.f530b7c00990@smartt.com>
References: <Pine.BSO.4.10.10106021300380.17529-100000@spider.pilosoft.com> <200106030037.f530b7c00990@smartt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox