Rules and variables? - Mailing list pgsql-sql

From Christian Rishoej
Subject Rules and variables?
Date
Msg-id 1021678745.15813.42.camel@penelope.dyndns.dk
Whole thread Raw
Responses Re: Rules and variables?
List 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





pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Constraint problem
Next
From: Josh Berkus
Date:
Subject: Re: Rules and variables?