Re: row-specific conditions possible? - Mailing list pgsql-performance

From A. Kretschmer
Subject Re: row-specific conditions possible?
Date
Msg-id 20090115110601.GB22144@a-kretschmer.de
Whole thread Raw
In response to row-specific conditions possible?  (Jörg Kiegeland <kiegeland@ikv.de>)
List pgsql-performance
In response to Jörg Kiegeland :
> Hi,

This list, [Perform], is obviously the wrong list for such...

>
> I want to store a boolean SQL condition in a column "condition_column"
> of my table "myTable".
> This condition refers to other columns of the same table and shall use
> one parameter, e.g. "column1=4 AND colume2+column3=param".
> Every row has a different condition in general..

maybe this blog-entry can help you:
http://akretschmer.blogspot.com/2007/10/postgresql-formula-in-column-how.html


For further questions ask me privat.


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-performance by date:

Previous
From: Jörg Kiegeland
Date:
Subject: row-specific conditions possible?
Next
From: Enrico Weigelt
Date:
Subject: Cost of INSERT rules