X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D8845D1D07D for ; Wed, 7 Apr 2004 20:41:45 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 66270-02 for ; Wed, 7 Apr 2004 20:41:26 -0300 (ADT) Received: from mail.netspace.net.au (thunder.netspace.net.au [203.10.110.71]) by svr1.postgresql.org (Postfix) with ESMTP id 50FD4D1D07A for ; Wed, 7 Apr 2004 20:41:23 -0300 (ADT) Received: from glenn2 (dsl-203-113-193-155.VIC.netspace.net.au [203.113.193.155]) by mail.netspace.net.au (Postfix) with SMTP id 677C14284E for ; Thu, 8 Apr 2004 09:41:23 +1000 (EST) From: "Coby Beck" To: Subject: parameter to control cycle detection Date: Thu, 8 Apr 2004 09:41:15 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.2 tagged_above=0.0 required=5.0 tests=BAYES_10, FROM_ENDS_IN_NUMS, RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200404/161 X-Sequence-Number: 13134 Hi, I get the following error trying to update a view: "ERROR: query rewritten 10 times, may contain cycles" and it doesn't. There is a function in there legitimately called 10 times with the same parameters. 10 seems a little low to panic about, is this configurable? The rule code is generated programmatically so for now at least I would like to avoid having to find a general solution for the sake of an optimization I may not need and it is not an option to hand tweak this one problem rule. Can I set this 10 parameter higher somewhere? TIA. Coby Beck --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.639 / Virus Database: 408 - Release Date: 22/03/2004