From: Luis Sousa <llsousa@ualg.pt>
To: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Execute some of the elements of the RULE without a plan to the VIEW
Date: Tue, 05 Feb 2002 12:18:47 +0000
Message-ID: <3C5FCDA7.4050302@ualg.pt> (raw)
Hi
I have a RULE that executes 5 queries. Each query executed is created a
plan to the view, that means that in the end I will have 5 query plans
to that view, when I only needed 1.
I don't know if this is the best way, but I'm doing 5 queries because I
have to pass to a function 17 parameters and postgres have the
limitation of 16. I have two tables of parameters, that I use. First I
delete all that could be there before, then I insert the new parameters
and after I execute my function, all inside the rule.
Can I do this in other way to improve the perfomance ?
Thanks, Luis Sousa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: llsousa@ualg.pt
Subject: Re: Execute some of the elements of the RULE without a plan to the VIEW
In-Reply-To: <3C5FCDA7.4050302@ualg.pt>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox