Re: row-specific conditions possible?

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: row-specific conditions possible?
Date: 2009-01-15 11:06:01
Message-ID: 20090115110601.GB22144@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Enrico Weigelt 2009-01-15 18:34:16 Cost of INSERT rules
Previous Message Jörg Kiegeland 2009-01-15 10:42:29 row-specific conditions possible?