Re: evaluating expressions stored in table - Mailing list pgsql-general

From Joe Conway
Subject Re: evaluating expressions stored in table
Date
Msg-id 50D0A05B.6010309@joeconway.com
Whole thread Raw
In response to Re: evaluating expressions stored in table  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-general
On 12/18/2012 08:50 AM, Merlin Moncure wrote:
> On Tue, Dec 18, 2012 at 10:03 AM, Little, Douglas
>     Anybody have any comments?
>
> probably you need a pl/pgsql function which wraps your argument table,
> builds the query, and invokes the query with EXECUTE.

For an example see slide 19 here:
http://www.joeconway.com/presentations/LISA2012-PredSrvAnalytics.pdf

> beware sql injection.

good point!

Joe

--
Joe Conway
credativ LLC: http://www.credativ.us
Linux, PostgreSQL, and general Open Source
Training, Service, Consulting, & 24x7 Support




pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: evaluating expressions stored in table
Next
From: Steve Crawford
Date:
Subject: Re: data type - import problem