On Wed, Aug 11, 2010 at 8:35 AM, Davor J. <DavorJ@xxxxxxxx> wrote: > Suppose you have a table CREATE TABLE tbl_formulas (formula_id integer, > formula text) > > The formula field can be any postgres-supported mathematical operation which > references some input data with $1 like "sin($1) + cos($1)" and returns one > numeric value. Such formulas should be used in the SELECT clause and should > be executed quickly for each data (real/double). why do you need to put the formula into a table...how about making functions? merlin -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general