Rules and variables?

From: Christian Rishoej <chrris(at)mail(dot)dk>
To: pgsql-sql(at)postgresql(dot)org
Subject: Rules and variables?
Date: 2002-05-17 23:39:04
Message-ID: 1021678745.15813.42.camel@penelope.dyndns.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


Hi,

I need to hold an integer value and use it in some queries in a rule I
have. I tried to use a temporary table, but without luck (got an error
like Relation "tmpfoo" does not exist ).

My question is: How can I hold this value thoughout the rule? Can I use
variables of some sort?

Christian

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2002-05-17 23:53:33 Re: Rules and variables?
Previous Message Stephan Szabo 2002-05-17 18:42:43 Re: Constraint problem